Skip to content

Commit

Permalink
Auto merge of #27880 - remram44:doc-seek-repetitions, r=steveklabnik
Browse files Browse the repository at this point in the history
"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).
  • Loading branch information
bors committed Aug 18, 2015
2 parents 58e602b + f70faa9 commit c6291e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libstd/io/mod.rs
Expand Up @@ -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`.
Expand Down

0 comments on commit c6291e0

Please sign in to comment.