fix run-make test
This commit is contained in:
parent
7d5b0454e9
commit
d6a948e8f4
@ -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…
x
Reference in New Issue
Block a user