diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2015-02-04 23:00:02 -0500 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2015-02-04 23:00:02 -0500 |
| commit | dc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (patch) | |
| tree | eee7ee05c474531329e04db0cce74ae2d87422fd /src/libstd/io | |
| parent | ba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff) | |
| download | rust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.tar.gz rust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.zip | |
Fix for misspelled comments.
The spelling corrections were made in both documentation comments and regular comments.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 0832206a48b..f931e6a3773 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -97,7 +97,7 @@ fn with_end_to_cap<F>(v: &mut Vec<u8>, f: F) -> Result<usize> // // To this end, we use an RAII guard (to protect against panics) which updates // the length of the string when it is dropped. This guard initially truncates -// the string to the prior length and only afer we've validated that the +// the string to the prior length and only after we've validated that the // new contents are valid UTF-8 do we allow it to set a longer length. // // The unsafety in this function is twofold: @@ -664,7 +664,7 @@ impl<T> Take<T> { /// /// # Note /// - /// This instance may reach EOF after reading fewer bytes than indiccated by + /// This instance may reach EOF after reading fewer bytes than indicated by /// this method if the underlying `Read` instance reaches EOF. pub fn limit(&self) -> u64 { self.limit } } |
