8 lines
81 B
Rust
8 lines
81 B
Rust
|
fn run(f: &fn()) {
|
||
|
f()
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let f: ~fn() = || ();
|
||
|
run(f);
|
||
|
}
|