diff options
| author | Simon BD <simon@server> | 2012-10-06 13:15:18 -0500 |
|---|---|---|
| committer | Simon BD <simon@server> | 2012-10-06 13:15:18 -0500 |
| commit | 0e3bec0ced8d781cdd93996e7b8eeedb13f81ba8 (patch) | |
| tree | 4738dcf131910061f5253ee5ef42960b9aef35f5 /src/libsyntax/parse/token.rs | |
| parent | d4a54837d4ab28219727e1f1e0c131ba6033ba94 (diff) | |
| parent | f96a2a2ca16a44f869336f7e28fc261551c1184c (diff) | |
Merge remote-tracking branch 'original/incoming' into incoming
Diffstat (limited to 'src/libsyntax/parse/token.rs')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index a328ff1bdf6..99b789cf63f 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -230,7 +230,7 @@ pure fn can_begin_expr(t: token) -> bool { } /// what's the opposite delimiter? -fn flip_delimiter(&t: token::token) -> token::token { +fn flip_delimiter(t: token::token) -> token::token { match t { token::LPAREN => token::RPAREN, token::LBRACE => token::RBRACE, |
