7 lines
61 B
Rust
7 lines
61 B
Rust
fn foo() {}
|
|
|
|
fn main() {
|
|
let f: &Fn() = &foo;
|
|
f();
|
|
}
|