Skip to content

Commit c1b2dc2

Browse files
committed
Rollup merge of #54635 - neoeinstein:seek-docs, r=alexcrichton
Improve docs for std::io::Seek Fixes #54562
2 parents 9b56c87 + 5285d35 commit c1b2dc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1204,8 +1204,8 @@ pub trait Write {
12041204
pub trait Seek {
12051205
/// Seek to an offset, in bytes, in a stream.
12061206
///
1207-
/// A seek beyond the end of a stream is allowed, but implementation
1208-
/// defined.
1207+
/// A seek beyond the end of a stream is allowed, but behavior is defined
1208+
/// by the implementation.
12091209
///
12101210
/// If the seek operation completed successfully,
12111211
/// this method returns the new position from the start of the stream.

0 commit comments

Comments
 (0)