about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-06-09 00:00:52 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-06-10 11:24:17 -0400
commitc2c99463720e758d5aa0bdcea19dc5b3dd67292c (patch)
treeb6744e6d280594324f1f22fe8b76ccd03f7eedb0 /src/libcore
parent0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff)
downloadrust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.tar.gz
rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.zip
Fix more misspelled comments and strings.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/fmt/mod.rs2
-rw-r--r--src/libcore/result.rs2
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:
 //!