about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-10-07 18:37:36 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-10-07 18:37:36 -0700
commit77d9ac37fc866743b91c0da2951d42c459bb74c5 (patch)
tree0a28bb9b95558d194460b5194fb440fa9d367bb6 /src/libsyntax/parse/parser.rs
parentbed669cba6c20e3bdbe01e87ce4566b60d7bc232 (diff)
downloadrust-77d9ac37fc866743b91c0da2951d42c459bb74c5.tar.gz
rust-77d9ac37fc866743b91c0da2951d42c459bb74c5.zip
syntax: Remove unnecessary @
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-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 e9f55c62b6c..4d3c762338d 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -338,7 +338,7 @@ pub struct Parser {
     /// Used to determine the path to externally loaded source files
     mod_path_stack: @mut ~[@str],
     /// Stack of spans of open delimiters. Used for error message.
-    open_braces: @mut ~[@Span]
+    open_braces: @mut ~[Span]
 }
 
 #[unsafe_destructor]
@@ -2026,7 +2026,7 @@ impl Parser {
         match *self.token {
             token::EOF => {
                 for sp in self.open_braces.iter() {
-                    self.span_note(**sp, "Did you mean to close this delimiter?");
+                    self.span_note(*sp, "Did you mean to close this delimiter?");
                 }
                 // There shouldn't really be a span, but it's easier for the test runner
                 // if we give it one
@@ -2036,7 +2036,7 @@ impl Parser {
                 let close_delim = token::flip_delimiter(&*self.token);
 
                 // Parse the open delimiter.
-                (*self.open_braces).push(@*self.span);
+                (*self.open_braces).push(*self.span);
                 let mut result = ~[parse_any_tt_tok(self)];
 
                 let trees =