diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/fmt/mod.rs | 2 | ||||
| -rw-r--r-- | src/libcore/result.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 37ef325d937..91fd183d8c3 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -539,7 +539,7 @@ impl<'a> Formatter<'a> { } /// Runs a callback, emitting the correct padding either before or - /// afterwards depending on whether right or left alingment is requested. + /// afterwards depending on whether right or left alignment is requested. fn with_padding(&mut self, padding: uint, default: rt::Alignment, diff --git a/src/libcore/result.rs b/src/libcore/result.rs index c19c5d3145a..180addfebcf 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -105,7 +105,7 @@ //! *Note: The actual definition of `Writer` uses `IoResult`, which //! is just a synonym for `Result<T, IoError>`.* //! -//! This method doesn`t produce a value, but the write may +//! This method doesn't produce a value, but the write may //! fail. It's crucial to handle the error case, and *not* write //! something like this: //! |
