Penutupan karat
fn main() {
let power = |x, y| {
return i32::pow(x, y);
};
println!("{}", power(10, 2)) // prints 100
}
Purple Team
fn main() {
let power = |x, y| {
return i32::pow(x, y);
};
println!("{}", power(10, 2)) // prints 100
}