From 1accaa9f86002e95c1d0a677349ab033ec6dd2e2 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 28 Mar 2015 18:09:51 +0300 Subject: Fix some typos --- src/libstd/fs/mod.rs | 2 +- src/libstd/old_io/fs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/fs/mod.rs b/src/libstd/fs/mod.rs index c1253706832..a3128ef0f8d 100644 --- a/src/libstd/fs/mod.rs +++ b/src/libstd/fs/mod.rs @@ -1511,7 +1511,7 @@ mod tests { assert_eq!(v, b"foobar\0\0\0\0".to_vec()); // Truncate to a smaller length, don't seek, and then write something. - // Ensure that the intermediate zeroes are all filled in (we're seeked + // Ensure that the intermediate zeroes are all filled in (we have `seek`ed // past the end of the file). check!(file.set_len(2)); assert_eq!(check!(file.metadata()).len(), 2); diff --git a/src/libstd/old_io/fs.rs b/src/libstd/old_io/fs.rs index e47c1b238eb..6aa63c395c6 100644 --- a/src/libstd/old_io/fs.rs +++ b/src/libstd/old_io/fs.rs @@ -1532,7 +1532,7 @@ mod test { b"foobar\0\0\0\0".to_vec()); // Truncate to a smaller length, don't seek, and then write something. - // Ensure that the intermediate zeroes are all filled in (we're seeked + // Ensure that the intermediate zeroes are all filled in (we have `seek`ed // past the end of the file). check!(file.truncate(2)); assert_eq!(check!(file.stat()).size, 2); -- cgit 1.4.1-3-g733a5