12 lines
136 B
Rust
12 lines
136 B
Rust
fn good(_a: &int) {
|
|
}
|
|
|
|
// unnamed argument &int is now parse x: &int
|
|
|
|
fn called(_f: &fn(&int)) {
|
|
}
|
|
|
|
pub fn main() {
|
|
called(good);
|
|
}
|