libstd: Change all uses of &fn(A)->B
over to |A|->B
in libstd
This commit is contained in:
parent
eef913b290
commit
1946265e1a
58 changed files with 270 additions and 236 deletions
|
@ -33,7 +33,7 @@ use vec;
|
|||
#[cfg(windows)] use ptr;
|
||||
#[cfg(windows)] use str;
|
||||
|
||||
fn keep_going(data: &[u8], f: &fn(*u8, uint) -> i64) -> i64 {
|
||||
fn keep_going(data: &[u8], f: |*u8, uint| -> i64) -> i64 {
|
||||
#[cfg(windows)] static eintr: int = 0; // doesn't matter
|
||||
#[cfg(not(windows))] static eintr: int = libc::EINTR as int;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue