diff options
| author | bors <bors@rust-lang.org> | 2015-03-29 22:39:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-03-29 22:39:46 +0000 |
| commit | d8be84eb4499e21bd98a3500c8760540996df23b (patch) | |
| tree | bb657eb04251af70d4db2e17dad194fcd1164c3c /src/libstd | |
| parent | 92f3d9a6b46a116a48b0dd35b66c8f66786296d6 (diff) | |
| parent | 1accaa9f86002e95c1d0a677349ab033ec6dd2e2 (diff) | |
| download | rust-d8be84eb4499e21bd98a3500c8760540996df23b.tar.gz rust-d8be84eb4499e21bd98a3500c8760540996df23b.zip | |
Auto merge of #23830 - petrochenkov:spellcheck, r=steveklabnik
With help of https://github.com/lucasdemarchi/codespell r? @steveklabnik
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fs/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/old_io/fs.rs | 2 |
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); |
