The main function
Every executable Rust program has one fn main(). The runtime calls it first:
fn main() {
println!("first");
println!("second");
}
Output:
first
second
Statements do not need semicolons at the end of a line, but expression tails do, this is a common beginner gotcha.