remove unneeded visit_ty methods

This commit is contained in:
John Clements 2014-06-24 16:50:06 -07:00
parent bc837fdadf
commit 8402793774

@ -698,10 +698,6 @@ impl Visitor<()> for NewNameFinderContext {
}
}
fn visit_ty(&mut self, typ: &ast::Ty, _: ()) {
visit::walk_ty(self, typ, ())
}
}
// return a visitor that extracts the pat_ident paths
@ -1051,11 +1047,6 @@ mod test {
_ => visit::walk_expr(self,expr,())
}
}
fn visit_ty(&mut self, typ: &ast::Ty, _: ()) {
visit::walk_ty(self, typ, ())
}
}
// return a visitor that extracts the paths