rustlings/variables/variables1.rs
2017-03-26 12:13:20 -07:00

42 lines
263 B
Rust

// Make me compile! Scroll down for hints :)
fn main() {
let x = 5;
println!("x has the value {}", x);
}
// Hint: The declaration on line 4 is missing a keyword that is needed in Rust
// to create a new variable binding.