Skip to content

Commit a1b7558

Browse files
committed
Make io::Seek docs less prescriptive
1 parent 81bce52 commit a1b7558

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/libstd/io/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,8 @@ pub trait Seek {
443443
/// A seek beyond the end of a stream is allowed, but seeking before offset
444444
/// 0 is an error.
445445
///
446-
/// Seeking past the end of the stream does not modify the underlying
447-
/// stream, but the next write may cause the previous data to be filled in
448-
/// with a bit pattern.
446+
/// The behavior when seeking past the end of the stream is implementation
447+
/// defined.
449448
///
450449
/// This method returns the new position within the stream if the seek
451450
/// operation completed successfully.

0 commit comments

Comments
 (0)