Skip to content

Commit

Permalink
Back out recognition of caret for unsafe ptr. Decided to abandon #2826
Browse files Browse the repository at this point in the history
…mid way through.
  • Loading branch information
graydon committed Jul 10, 2012
1 parent f0fe08f commit 172bf3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,7 @@ class parser {
}
mt { ty_uniq(mt) }
}
} else if self.token == token::BINOP(token::STAR) ||
self.token == token::BINOP(token::CARET) {
} else if self.token == token::BINOP(token::STAR) {
self.bump();
ty_ptr(self.parse_mt())
} else if self.token == token::LBRACE {
Expand Down

0 comments on commit 172bf3a

Please sign in to comment.