about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-02-16 15:56:50 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2018-02-17 17:38:49 +0100
commit4452446292086d9c92ea709eea61a31cedb55e22 (patch)
tree261a9b2a1b4fb4468673a71fbe774ee84527599f /src/libstd/io
parentb298607864b76ea6b7b7a4b8bb482472f1604c8d (diff)
downloadrust-4452446292086d9c92ea709eea61a31cedb55e22.tar.gz
rust-4452446292086d9c92ea709eea61a31cedb55e22.zip
fix more typos found by codespell.
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/buffered.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs
index 4e7db5f0826..9250c1c437b 100644
--- a/src/libstd/io/buffered.rs
+++ b/src/libstd/io/buffered.rs
@@ -293,7 +293,7 @@ impl<R: Seek> Seek for BufReader<R> {
     /// where `n` minus the internal buffer length overflows an `i64`, two
     /// seeks will be performed instead of one. If the second seek returns
     /// `Err`, the underlying reader will be left at the same position it would
-    /// have if you seeked to `SeekFrom::Current(0)`.
+    /// have if you called `seek` with `SeekFrom::Current(0)`.
     ///
     /// [`seek_relative`]: #method.seek_relative
     fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {