Skip to content

Commit d6a948e

Browse files
author
Jorge Aparicio
committed
fix run-make test
1 parent 7d5b045 commit d6a948e

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make/static-unwinding

1 file changed

+1
-1
lines changed

src/test/run-make/static-unwinding/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ impl Drop for A {
1919
}
2020
}
2121

22-
pub fn callback(f: ||) {
22+
pub fn callback<F>(f: F) where F: FnOnce() {
2323
let _a = A;
2424
f();
2525
}

0 commit comments

Comments
 (0)