libstd: Change all uses of &fn(A)->B over to |A|->B in libstd

This commit is contained in:
Patrick Walton
2013-11-18 21:15:42 -08:00
parent eef913b290
commit 1946265e1a
58 changed files with 270 additions and 236 deletions

View File

@@ -108,7 +108,7 @@ pub trait Unsigned: Num {}
/// ```
///
pub trait Times {
fn times(&self, it: &fn());
fn times(&self, it: ||);
}
pub trait Integer: Num