diff --git a/exercises/variables/variables1.rs b/exercises/variables/variables1.rs index 4a3af73c..149d5ce8 100644 --- a/exercises/variables/variables1.rs +++ b/exercises/variables/variables1.rs @@ -6,9 +6,8 @@ // even after you already figured it out. If you got everything working and // feel ready for the next exercise, remove the `I AM NOT DONE` comment below. -// I AM NOT DONE fn main() { - x = 5; + let x = 5; println!("x has the value {}", x); } diff --git a/rustlings b/rustlings new file mode 160000 index 00000000..ba087ce6 --- /dev/null +++ b/rustlings @@ -0,0 +1 @@ +Subproject commit ba087ce64a35c93e40689d258f6dfde538b9ca22