Add hints to the variable bindings exercises

This commit is contained in:
Carol (Nichols || Goulding)
2015-09-17 19:16:30 -04:00
parent 9cf4958982
commit dbfab88e61
5 changed files with 151 additions and 8 deletions

View File

@@ -1,6 +1,41 @@
// Make me compile!
// Make me compile! Scroll down for hints :)
fn main() {
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.