Rollup merge of #22433 - sfackler:seek-docs, r=aturon

r? @aturon
This commit is contained in:
Manish Goregaokar 2015-02-17 15:41:34 +05:30
commit 5e0adf2401

View File

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