diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-05 16:17:10 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-05 16:57:37 -0700 |
| commit | 45345bda6ab439599838bbf3df0c524d86c8da2a (patch) | |
| tree | 9d5da45478bac05949458685f221e4f24bad94a9 /src/libsyntax/parse/token.rs | |
| parent | 04497ea7b9b9598faa7456e7de1304e9118d2bb0 (diff) | |
| download | rust-45345bda6ab439599838bbf3df0c524d86c8da2a.tar.gz rust-45345bda6ab439599838bbf3df0c524d86c8da2a.zip | |
Remove uses of mutable ref mode.
It's still in the compiler right now, but warned about
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, |
