From c9b5f25e344c71a8e6afe5ce5c5ac025837da079 Mon Sep 17 00:00:00 2001 From: haozhuoD <2567769508@qq.com> Date: Thu, 8 Jul 2021 16:24:52 +0000 Subject: [PATCH] git commit -a --- exercises/variables/variables1.rs | 3 +-- rustlings | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 160000 rustlings 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