Apply suggestions from code review
Fix typos in the documentation Co-Authored-By: LukasKalbertodt <lukas.kalbertodt@gmail.com>
This commit is contained in:
parent
ea40aa46e7
commit
f95219fa58
1 changed files with 2 additions and 2 deletions
|
|
@ -1340,11 +1340,11 @@ pub trait Seek {
|
|||
///
|
||||
/// If you need to obtain the length of *many* streams and you don't care
|
||||
/// about the seek position afterwards, you can reduce the number of seek
|
||||
/// operations by simply calling `seek(SeekFrom::End(0))` and use its
|
||||
/// operations by simply calling `seek(SeekFrom::End(0))` and using its
|
||||
/// return value (it is also the stream length).
|
||||
///
|
||||
/// Note that length of a stream can change over time (for example, when
|
||||
/// data is appended to a file). So calling this method multiply times does
|
||||
/// data is appended to a file). So calling this method multiple times does
|
||||
/// not necessarily return the same length each time.
|
||||
///
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue