about summary refs log tree commit diff
path: root/src/libstd/fmt
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-08-16 15:41:28 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-08-16 15:41:28 +1000
commitabe94f9b4d0d072e2477b989715c6c79e97de259 (patch)
tree705abd2a2859eeb55a097d6e7b4ccfd080bbb2be /src/libstd/fmt
parent1ad0cf5841e2fb577c4c26a051067fdd06e24796 (diff)
downloadrust-abe94f9b4d0d072e2477b989715c6c79e97de259.tar.gz
rust-abe94f9b4d0d072e2477b989715c6c79e97de259.zip
doc: correct spelling in documentation.
Diffstat (limited to 'src/libstd/fmt')
-rw-r--r--src/libstd/fmt/mod.rs2
-rw-r--r--src/libstd/fmt/parse.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs
index 70ec5d93199..5feb72cb9cd 100644
--- a/src/libstd/fmt/mod.rs
+++ b/src/libstd/fmt/mod.rs
@@ -147,7 +147,7 @@ helper methods.
 ## Internationalization
 
 The formatting syntax supported by the `ifmt!` extension supports
-internationalization by providing "methods" which execute various differnet
+internationalization by providing "methods" which execute various different
 outputs depending on the input. The syntax and methods provided are similar to
 other internationalization systems, so again nothing should seem alien.
 Currently two methods are supported by this extension: "select" and "plural".
diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs
index 0d39ae84a60..84295d0bd5a 100644
--- a/src/libstd/fmt/parse.rs
+++ b/src/libstd/fmt/parse.rs
@@ -66,7 +66,7 @@ pub enum Position<'self> {
     ArgumentNext, ArgumentIs(uint), ArgumentNamed(&'self str)
 }
 
-/// Enum of alignments which are supoprted.
+/// Enum of alignments which are supported.
 #[deriving(Eq)]
 pub enum Alignment { AlignLeft, AlignRight, AlignUnknown }