From: Marcus Griep Date: Fri, 28 Sep 2018 12:01:31 +0000 (-0400) Subject: Improve docs for std::io::Seek X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=5285d35b49e1e8976f2a8d9d2e6f5bd1324016d3;p=rust.git Improve docs for std::io::Seek Fixes #54562 --- diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 278ee7951b3..e263db24fc2 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1204,8 +1204,8 @@ fn by_ref(&mut self) -> &mut Self where Self: Sized { self } pub trait Seek { /// Seek to an offset, in bytes, in a stream. /// - /// A seek beyond the end of a stream is allowed, but implementation - /// defined. + /// A seek beyond the end of a stream is allowed, but behavior is defined + /// by the implementation. /// /// If the seek operation completed successfully, /// this method returns the new position from the start of the stream.