about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-03-28 18:09:51 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-03-28 18:09:51 +0300
commit1accaa9f86002e95c1d0a677349ab033ec6dd2e2 (patch)
tree9a65dc2cb6f8a0f38639eed8fbf9902994faa3e5 /src/libstd
parent227b46bdede794d5c8476b810bb1c30926bd9c04 (diff)
downloadrust-1accaa9f86002e95c1d0a677349ab033ec6dd2e2.tar.gz
rust-1accaa9f86002e95c1d0a677349ab033ec6dd2e2.zip
Fix some typos
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/fs/mod.rs2
-rw-r--r--src/libstd/old_io/fs.rs2
2 files changed, 2 insertions, 2 deletions
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);