about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
committerJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
commitdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (patch)
treeeee7ee05c474531329e04db0cce74ae2d87422fd /src/libsyntax
parentba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff)
downloadrust-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/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs2
-rw-r--r--src/libsyntax/parse/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index d7a51e1149f..435713d99d1 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -109,7 +109,7 @@ static KNOWN_FEATURES: &'static [(&'static str, &'static str, Status)] = &[
     // int and uint are now deprecated
     ("int_uint", "1.0.0", Active),
 
-    // macro reexport needs more discusion and stabilization
+    // macro reexport needs more discussion and stabilization
     ("macro_reexport", "1.0.0", Active),
 
     // These are used to test this portion of the compiler, they don't actually
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index eecd7d87185..d8a5ef04852 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -560,7 +560,7 @@ fn filtered_float_lit(data: token::InternedString, suffix: Option<&str>,
 }
 pub fn float_lit(s: &str, suffix: Option<&str>, sd: &SpanHandler, sp: Span) -> ast::Lit_ {
     debug!("float_lit: {:?}, {:?}", s, suffix);
-    // FIXME #2252: bounds checking float literals is defered until trans
+    // FIXME #2252: bounds checking float literals is deferred until trans
     let s = s.chars().filter(|&c| c != '_').collect::<String>();
     let data = token::intern_and_get_ident(&*s);
     filtered_float_lit(data, suffix, sd, sp)