about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-18 14:08:24 +0000
committerbors <bors@rust-lang.org>2015-08-18 14:08:24 +0000
commitc6291e04cc620ce3824d8bccdb8a5bd923fcd741 (patch)
treeff081cdd0e4361bd037d52c133cb01be3b058d39 /src/libstd
parent58e602b03ff8dc6caf3f64178430d1869d230fec (diff)
parentf70faa91ebd582c2799e1350bc292aad6ae1740e (diff)
downloadrust-c6291e04cc620ce3824d8bccdb8a5bd923fcd741.tar.gz
rust-c6291e04cc620ce3824d8bccdb8a5bd923fcd741.zip
Auto merge of #27880 - remram44:doc-seek-repetitions, r=steveklabnik
"Don't seek past end of stream" is mentioned twice in a row. This happened because seeking before offset 0 was previously mentioned there, and was moved to the "errors" section afterwards.

Somehow made it through [#26924](https://github.com/rust-lang/rust/pull/26924/files#diff-668f8f358d4a93474b396dcb3727399eR825).
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 5ad5d0fa4d5..ac70fdae253 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1060,9 +1060,6 @@ pub trait Seek {
     /// A seek beyond the end of a stream is allowed, but implementation
     /// defined.
     ///
-    /// The behavior when seeking past the end of the stream is implementation
-    /// defined.
-    ///
     /// 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`.