about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorMarcus Griep <mgriep@vistaprint.com>2018-09-28 08:01:31 -0400
committerMarcus Griep <mgriep@vistaprint.com>2018-09-28 08:01:56 -0400
commit5285d35b49e1e8976f2a8d9d2e6f5bd1324016d3 (patch)
tree6834f1dce5d7f96ee6fd579a5b8dfb26e8b41a89 /src/libstd/io
parent8876906867b2db3c7177d69dd020c40d89177f86 (diff)
downloadrust-5285d35b49e1e8976f2a8d9d2e6f5bd1324016d3.tar.gz
rust-5285d35b49e1e8976f2a8d9d2e6f5bd1324016d3.zip
Improve docs for std::io::Seek
Fixes #54562
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/mod.rs4
1 files changed, 2 insertions, 2 deletions
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 @@ pub trait Write {
 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.