about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-09-29 13:21:18 +0800
committerkennytm <kennytm@gmail.com>2018-09-29 16:43:41 +0800
commitc1b2dc223c02dcc8dc4307b4bcfa6797c8b95615 (patch)
tree77c3b529b327fe4fa5433bcd9fd1c6034f250cb3 /src/libstd
parent9b56c8700c7aa7706782258e5f8656eedfbf2a39 (diff)
parent5285d35b49e1e8976f2a8d9d2e6f5bd1324016d3 (diff)
downloadrust-c1b2dc223c02dcc8dc4307b4bcfa6797c8b95615.tar.gz
rust-c1b2dc223c02dcc8dc4307b4bcfa6797c8b95615.zip
Rollup merge of #54635 - neoeinstein:seek-docs, r=alexcrichton
Improve docs for std::io::Seek

Fixes #54562
Diffstat (limited to 'src/libstd')
-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.