about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-02 16:03:46 +0000
committerbors <bors@rust-lang.org>2015-08-02 16:03:46 +0000
commit30ba0ee3bc0f0261f0ff6fc59303ead840de35c9 (patch)
tree49d5113e22fbba9976c72f8abdc2f1cb2b143a0b
parentf7b3cd3337021ed16302fd6a9cc5bcf0afee6679 (diff)
parent7b2dd1fb281dab2543f619a52bc8c217d3ed7700 (diff)
downloadrust-30ba0ee3bc0f0261f0ff6fc59303ead840de35c9.tar.gz
rust-30ba0ee3bc0f0261f0ff6fc59303ead840de35c9.zip
Auto merge of #27469 - SimonSapin:patch-6, r=Gankro
-rw-r--r--src/libstd/io/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index f811aa1be4e..3d746aa450a 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1060,8 +1060,9 @@ pub trait Seek {
     /// The behavior when seeking past the end of the stream is implementation
     /// defined.
     ///
-    /// This method returns the new position within the stream if the seek
-    /// operation completed successfully.
+    /// If the seek operation completed successfully,
+    /// this method returns the new position from the start of the stream.
+    /// That position can be used later with `SeekFrom::Start`.
     ///
     /// # Errors
     ///