test: Remove most uses of &fn()
from the tests.
This commit is contained in:
parent
ef70b7666e
commit
406813957b
145 changed files with 249 additions and 256 deletions
|
@ -55,7 +55,7 @@ fn main() {
|
|||
let mut _allowed = 1;
|
||||
}
|
||||
|
||||
fn callback(f: &fn()) {}
|
||||
fn callback(f: ||) {}
|
||||
|
||||
// make sure the lint attribute can be turned off
|
||||
#[allow(unused_mut)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue