Rollup merge of #54635 - neoeinstein:seek-docs, r=alexcrichton

Improve docs for std::io::Seek

Fixes #54562
This commit is contained in:
kennytm 2018-09-29 13:21:18 +08:00
commit c1b2dc223c
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C

View File

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