mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
5 lines
119 B
Rust
5 lines
119 B
Rust
pub fn f(x: isize) -> isize { -x }
|
|
|
|
pub static F: fn(isize) -> isize = f;
|
|
pub static mut MutF: fn(isize) -> isize = f;
|