rust-book/functions/src/main.rs
Timothy Warren 861134542a First commit
2019-01-30 14:25:30 -05:00

11 lines
199 B
Rust

fn main() {
println!("Hello, world!");
another_function(5, 6);
}
fn another_function(x: i32, y: i32) {
println!("The value of x is: {}", x);
println!("The value of y is: {}", y);
}