Fix an unused variable warning and clean up some dead code/names.

This commit is contained in:
Michael Sullivan
2013-07-29 14:19:04 -07:00
parent bcf62e7901
commit a20081666b
3 changed files with 13 additions and 21 deletions

View File

@@ -410,7 +410,7 @@ impl IdVisitor {
impl Visitor<()> for IdVisitor {
fn visit_mod(@mut self,
module: &_mod,
span: span,
_span: span,
node_id: NodeId,
env: ()) {
(self.visit_callback)(node_id);