Rollup merge of #54635 - neoeinstein:seek-docs, r=alexcrichton
Improve docs for std::io::Seek Fixes #54562
This commit is contained in:
commit
c1b2dc223c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user