Skip to content

Commit c6291e0

Browse files
committed
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).
2 parents 58e602b + f70faa9 commit c6291e0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libstd/io/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1060,9 +1060,6 @@ pub trait Seek {
10601060
/// A seek beyond the end of a stream is allowed, but implementation
10611061
/// defined.
10621062
///
1063-
/// The behavior when seeking past the end of the stream is implementation
1064-
/// defined.
1065-
///
10661063
/// If the seek operation completed successfully,
10671064
/// this method returns the new position from the start of the stream.
10681065
/// That position can be used later with `SeekFrom::Start`.

0 commit comments

Comments
 (0)