Skip to content

Commit f95219f

Browse files
tbu-LukasKalbertodt
andauthoredMar 17, 2019
Apply suggestions from code review
Fix typos in the documentation Co-Authored-By: LukasKalbertodt <lukas.kalbertodt@gmail.com>
1 parent ea40aa4 commit f95219f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/libstd/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1340,11 +1340,11 @@ pub trait Seek {
13401340
///
13411341
/// If you need to obtain the length of *many* streams and you don't care
13421342
/// about the seek position afterwards, you can reduce the number of seek
1343-
/// operations by simply calling `seek(SeekFrom::End(0))` and use its
1343+
/// operations by simply calling `seek(SeekFrom::End(0))` and using its
13441344
/// return value (it is also the stream length).
13451345
///
13461346
/// Note that length of a stream can change over time (for example, when
1347-
/// data is appended to a file). So calling this method multiply times does
1347+
/// data is appended to a file). So calling this method multiple times does
13481348
/// not necessarily return the same length each time.
13491349
///
13501350
///

0 commit comments

Comments
 (0)