6 lines
89 B
Rust
6 lines
89 B
Rust
|
|
||
|
fn something(f: pure fn()) { f(); }
|
||
|
fn main() {
|
||
|
something(|| log(error, "hi!") );
|
||
|
}
|