1
Fork 0

Improve docs for std::io::Seek

Fixes #54562
This commit is contained in:
Marcus Griep 2018-09-28 08:01:31 -04:00
parent 8876906867
commit 5285d35b49
No known key found for this signature in database
GPG key ID: 7032E975E161A6E5

View file

@ -1204,8 +1204,8 @@ pub trait Write {
pub trait Seek { pub trait Seek {
/// Seek to an offset, in bytes, in a stream. /// Seek to an offset, in bytes, in a stream.
/// ///
/// A seek beyond the end of a stream is allowed, but implementation /// A seek beyond the end of a stream is allowed, but behavior is defined
/// defined. /// by the implementation.
/// ///
/// If the seek operation completed successfully, /// If the seek operation completed successfully,
/// this method returns the new position from the start of the stream. /// this method returns the new position from the start of the stream.