main.rs 219 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 fn main() { another_function(5, add_five(6)); } fn another_function(x: i32, y: i32) { println!("The value of x id: {}", x); println!("The value of y id: {}", y); } fn add_five(x: i32) -> i32 { x + 5 }