From c2c99463720e758d5aa0bdcea19dc5b3dd67292c Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Mon, 9 Jun 2014 00:00:52 -0400 Subject: Fix more misspelled comments and strings. --- src/libcore/fmt/mod.rs | 2 +- src/libcore/result.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcore') 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`.* //! -//! 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: //! -- cgit 1.4.1-3-g733a5