From f95219fa580a514b5ca6c1425335afadbe394b57 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Sun, 17 Mar 2019 09:39:47 +0100 Subject: Apply suggestions from code review Fix typos in the documentation Co-Authored-By: LukasKalbertodt --- src/libstd/io/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') 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. /// /// -- cgit 1.4.1-3-g733a5