about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2019-03-17 09:39:47 +0100
committerGitHub <noreply@github.com>2019-03-17 09:39:47 +0100
commitf95219fa580a514b5ca6c1425335afadbe394b57 (patch)
tree595f9e2e94bd090fdb05ab16eafeb26bb2a2f641 /src
parentea40aa46e7ddc3a363495951b88e7a4dc1dc17d7 (diff)
downloadrust-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.rs4
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.
     ///
     ///