about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-06 05:37:17 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-06 16:21:06 +0530
commit08a2bef63286479f6abab22f23e3b48e58e5c711 (patch)
tree4d0dca171aa29878aa198d61d07030920e292212 /src/libsyntax
parent6bf0cd8f0031d02eaa341adc62a7cba1af435063 (diff)
parentdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (diff)
downloadrust-08a2bef63286479f6abab22f23e3b48e58e5c711.tar.gz
rust-08a2bef63286479f6abab22f23e3b48e58e5c711.zip
Rollup merge of #21954 - jbcrail:fix-misspelled-comments, r=steveklabnik
 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 36701e7e25c..96151815d07 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 9e9ec08da03..694da9b8b28 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)