Skip to content

Commit

Permalink
syntax: Remove unnecessary @
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Oct 8, 2013
1 parent bed669c commit 77d9ac3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libsyntax/parse/parser.rs
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand All @@ -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 =
Expand Down

10 comments on commit 77d9ac3

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at catamorphism@77d9ac3

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging catamorphism/rust/issue-2354 = 77d9ac3 into auto

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catamorphism/rust/issue-2354 = 77d9ac3 merged ok, testing candidate = 9bcfeae7

@pnkfelix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors: retry

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at catamorphism@77d9ac3

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging catamorphism/rust/issue-2354 = 77d9ac3 into auto

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catamorphism/rust/issue-2354 = 77d9ac3 merged ok, testing candidate = 8db52a5

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

@bors
Copy link
Contributor

@bors bors commented on 77d9ac3 Oct 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 8db52a5

Please sign in to comment.