librustc: Replace all uses of fn() with &fn(). rs=defun

This commit is contained in:
Patrick Walton
2013-03-07 14:38:38 -08:00
parent 51cdca0bf0
commit d18f785457
198 changed files with 813 additions and 812 deletions

View File

@@ -516,7 +516,7 @@ pub pure fn is_item_impl(item: @ast::item) -> bool {
}
}
pub fn walk_pat(pat: @pat, it: fn(@pat)) {
pub fn walk_pat(pat: @pat, it: &fn(@pat)) {
it(pat);
match pat.node {
pat_ident(_, _, Some(p)) => walk_pat(p, it),