about summary refs log tree commit diff
path: root/src/libsyntax/parse/common.rs
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2013-06-04 15:14:56 -0700
committerMichael Sullivan <sully@msully.net>2013-06-06 12:14:41 -0700
commit8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c (patch)
tree9fd129fcd914f75a3325f6330c6e7f5ecde05826 /src/libsyntax/parse/common.rs
parent8450dc8f5e7616617d707f8fdbfaf7ad6ad5aa41 (diff)
downloadrust-8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c.tar.gz
rust-8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c.zip
Clean up a handful of build warnings.
Diffstat (limited to 'src/libsyntax/parse/common.rs')
-rw-r--r--src/libsyntax/parse/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs
index 9fb69821953..6027d3b07f2 100644
--- a/src/libsyntax/parse/common.rs
+++ b/src/libsyntax/parse/common.rs
@@ -49,7 +49,7 @@ pub fn seq_sep_none() -> SeqSep {
 
 // maps any token back to a string. not necessary if you know it's
 // an identifier....
-pub fn token_to_str(reader: @reader, token: &token::Token) -> ~str {
+pub fn token_to_str(token: &token::Token) -> ~str {
     token::to_str(get_ident_interner(), token)
 }