Browse Source

variable bindings

Lucas Stadler 10 years ago
parent
commit
956b8ad436
1 changed files with 3 additions and 0 deletions
  1. 3 0
      rust/book/src/main.rs

+ 3 - 0
rust/book/src/main.rs

@ -1,3 +1,6 @@
1 1
fn main() {
2
    let x = 5;
3
2 4
    println!("Hello, World!");
5
    println!("THE number is {}", x);
3 6
}