Skip to content

Commit 30ba0ee

Browse files
committed
Auto merge of #27469 - SimonSapin:patch-6, r=Gankro
2 parents f7b3cd3 + 7b2dd1f commit 30ba0ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libstd/io/mod.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1060,8 +1060,9 @@ pub trait Seek {
10601060
/// The behavior when seeking past the end of the stream is implementation
10611061
/// defined.
10621062
///
1063-
/// This method returns the new position within the stream if the seek
1064-
/// operation completed successfully.
1063+
/// If the seek operation completed successfully,
1064+
/// this method returns the new position from the start of the stream.
1065+
/// That position can be used later with `SeekFrom::Start`.
10651066
///
10661067
/// # Errors
10671068
///

0 commit comments

Comments
 (0)