fix run-make test
This commit is contained in:
parent
7d5b0454e9
commit
d6a948e8f4
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ impl Drop for A {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn callback(f: ||) {
|
||||
pub fn callback<F>(f: F) where F: FnOnce() {
|
||||
let _a = A;
|
||||
f();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue