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

@@ -322,7 +322,7 @@ impl CharEq for char {
fn only_ascii(&self) -> bool { (*self as uint) < 128 }
}
impl<'self> CharEq for &'self fn(char) -> bool {
impl<'self> CharEq for 'self |char| -> bool {
#[inline]
fn matches(&self, c: char) -> bool { (*self)(c) }