mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17: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;
|