about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-01-28 17:06:46 +1300
committerNick Cameron <ncameron@mozilla.com>2015-01-30 12:01:08 +1300
commitbf2b4738163b196685198e91d7ce4e2761bb718e (patch)
tree84d15b7a762f4b8ef5517d05b5963a448e4d8414 /src/libsyntax
parentc64a96d385fb3b23c6744cf8d927c9c175936b5f (diff)
downloadrust-bf2b4738163b196685198e91d7ce4e2761bb718e.tar.gz
rust-bf2b4738163b196685198e91d7ce4e2761bb718e.zip
Rename FullRange to RangeFull
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/parser.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 3d65dd82643..b9b1dd9afee 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2527,14 +2527,14 @@ impl<'a> Parser<'a> {
                 }
 
                 if found_dotdot || self.eat(&token::CloseDelim(token::Bracket)) {
-                    // No expression, expand to a FullRange
+                    // No expression, expand to a RangeFull
                     // FIXME(#20516) It would be better to use a lang item or
-                    // something for FullRange.
+                    // something for RangeFull.
                     hi = self.last_span.hi;
 
                     let idents = vec![token::str_to_ident("core"),
                                       token::str_to_ident("ops"),
-                                      token::str_to_ident("FullRange")];
+                                      token::str_to_ident("RangeFull")];
                     let segments = idents.into_iter().map(|ident| {
                         ast::PathSegment {
                             identifier: ident,