diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2019-03-17 09:39:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-17 09:39:47 +0100 |
| commit | f95219fa580a514b5ca6c1425335afadbe394b57 (patch) | |
| tree | 595f9e2e94bd090fdb05ab16eafeb26bb2a2f641 /src | |
| parent | ea40aa46e7ddc3a363495951b88e7a4dc1dc17d7 (diff) | |
| download | rust-f95219fa580a514b5ca6c1425335afadbe394b57.tar.gz rust-f95219fa580a514b5ca6c1425335afadbe394b57.zip | |
Apply suggestions from code review
Fix typos in the documentation Co-Authored-By: LukasKalbertodt <lukas.kalbertodt@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/libstd/io/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 2e521b32903..f2ed1979966 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -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. /// /// |
