From 39713b829535b40aff2b7f368839d07ea7c2bf11 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 19 Jan 2014 19:21:14 +1100 Subject: Remove unnecessary parentheses. --- src/libsyntax/parse/token.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse/token.rs') 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", -- cgit 1.4.1-3-g733a5