fn f(mut x: i32, mut y: i32) -> i32 { x = x + 1; // mutable paramer x + y } fn main() -> i32 { let a = 1; let b = 2; f(a, a + b) + a // call by value, a does not change }