diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-05 14:27:56 -0700 | 
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-05 15:39:12 -0700 | 
| commit | ca49fd402af8e7bf613c43e996274b5a017958d2 (patch) | |
| tree | 967e847cfe10d615ebb0629da3972388ff045644 /src/libsyntax/parse/token.rs | |
| parent | e16dbb7888504ef5d0de0c14493fc8ecc492ee30 (diff) | |
| download | rust-ca49fd402af8e7bf613c43e996274b5a017958d2.tar.gz rust-ca49fd402af8e7bf613c43e996274b5a017958d2.zip | |
wip
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, | 
