about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-01-19 19:21:14 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-01-21 22:00:18 +1100
commit39713b829535b40aff2b7f368839d07ea7c2bf11 (patch)
tree897cd7f2eb52770a2dd4d4c69efc47e1ecc7b4f7 /src/libsyntax/parse/token.rs
parent39012288118146331add60f2b1c90b07b6a6c51b (diff)
downloadrust-39713b829535b40aff2b7f368839d07ea7c2bf11.tar.gz
rust-39713b829535b40aff2b7f368839d07ea7c2bf11.zip
Remove unnecessary parentheses.
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 42313e64283..56681ef2def 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -218,7 +218,7 @@ pub fn to_str(input: @IdentInterner, t: &Token) -> ~str {
             &NtAttr(e) => ::print::pprust::attribute_to_str(e, input),
             _ => {
                 ~"an interpolated " +
-                    match (*nt) {
+                    match *nt {
                         NtItem(..) => ~"item",
                         NtBlock(..) => ~"block",
                         NtStmt(..) => ~"statement",