summaryrefslogtreecommitdiff
path: root/exercises/variables/variables1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/variables/variables1.rs')
-rw-r--r--exercises/variables/variables1.rs37
1 files changed, 1 insertions, 36 deletions
diff --git a/exercises/variables/variables1.rs b/exercises/variables/variables1.rs
index 1cdd270..65452c2 100644
--- a/exercises/variables/variables1.rs
+++ b/exercises/variables/variables1.rs
@@ -1,42 +1,7 @@
// variables1.rs
-// Make me compile! Scroll down for hints :)
+// Make me compile! Execute the command `rustlings hint variables1` if you want a hint :)
fn main() {
x = 5;
println!("x has the value {}", x);
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// Hint: The declaration on line 5 is missing a keyword that is needed in Rust
-// to create a new variable binding.