]> git.lizzy.rs Git - rust.git/commitdiff
Improve docs for std::io::Seek
authorMarcus Griep <mgriep@vistaprint.com>
Fri, 28 Sep 2018 12:01:31 +0000 (08:01 -0400)
committerMarcus Griep <mgriep@vistaprint.com>
Fri, 28 Sep 2018 12:01:56 +0000 (08:01 -0400)
Fixes #54562

src/libstd/io/mod.rs

index 278ee7951b3d210d7a2a22c76b9e66678b9154ed..e263db24fc2c80cf9b429c2d4e150e6952bbc3f1 100644 (file)
@@ -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.