We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7b3cd3 + 7b2dd1f commit 30ba0eeCopy full SHA for 30ba0ee
src/libstd/io/mod.rs
@@ -1060,8 +1060,9 @@ pub trait Seek {
1060
/// The behavior when seeking past the end of the stream is implementation
1061
/// defined.
1062
///
1063
- /// This method returns the new position within the stream if the seek
1064
- /// operation completed successfully.
+ /// If the seek operation completed successfully,
+ /// this method returns the new position from the start of the stream.
1065
+ /// That position can be used later with `SeekFrom::Start`.
1066
1067
/// # Errors
1068
0 commit comments