libstd: Change all uses of &fn(A)->B over to |A|->B in libstd
This commit is contained in:
@@ -108,7 +108,7 @@ pub trait Unsigned: Num {}
|
||||
/// ```
|
||||
///
|
||||
pub trait Times {
|
||||
fn times(&self, it: &fn());
|
||||
fn times(&self, it: ||);
|
||||
}
|
||||
|
||||
pub trait Integer: Num
|
||||
|
||||
Reference in New Issue
Block a user