librustc: Remove remaining uses of &fn() in favor of ||.

This commit is contained in:
Patrick Walton
2013-11-19 17:36:32 -08:00
parent 406813957b
commit 9e610573ba
72 changed files with 163 additions and 153 deletions

View File

@@ -669,7 +669,7 @@ pub trait EachViewItem {
}
struct EachViewItemData<'self> {
callback: &'self fn(&ast::view_item) -> bool,
callback: 'self |&ast::view_item| -> bool,
}
impl<'self> Visitor<()> for EachViewItemData<'self> {