about summary refs log tree commit diff
path: root/src/libstd/io/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/io/mod.rs')
-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 89c45f60d1c..c38d52161c9 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.