A Complete Program

Let's look at the "Hello, World" code again:

fn main() {
  println!("Hello, World");
}

Those three lines of code are a complete program. It may be simple, but when you've typed them in you've officially written Rust.