about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-17 15:41:34 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 17:33:19 +0530
commit5e0adf2401b6fab9bcd79070a096957783fbcc9d (patch)
treedfd93b6f64895b5d97d5216059bb65a6a131a4e8 /src/libstd
parent9eed8b1c27cc598650240e87be08b142b1c62c76 (diff)
parenta1b755862c3999b6107838866663fae339bbfedc (diff)
downloadrust-5e0adf2401b6fab9bcd79070a096957783fbcc9d.tar.gz
rust-5e0adf2401b6fab9bcd79070a096957783fbcc9d.zip
Rollup merge of #22433 - sfackler:seek-docs, r=aturon
r? @aturon
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 2668baba095..1243df2f93e 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -443,9 +443,8 @@ pub trait Seek {
     /// A seek beyond the end of a stream is allowed, but seeking before offset
     /// 0 is an error.
     ///
-    /// Seeking past the end of the stream does not modify the underlying
-    /// stream, but the next write may cause the previous data to be filled in
-    /// with a bit pattern.
+    /// 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.