kari karat, preset beberapa argumen
fn add(a: u32, b: u32) -> u32 {
a + b
}
fn main() {
// setting one of the parameters to a fixed value
let add5 = move |x| add(5, x);
println!("sample usage = {} ",add5(20));
}
Mackerel