From dd9e17d236cea9414e2d577638f18647e7599543 Mon Sep 17 00:00:00 2001 From: ynhhoJ Date: Sat, 16 Apr 2022 11:52:42 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7Variables:=20Exercise=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exercises/variables/variables5.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/exercises/variables/variables5.rs b/exercises/variables/variables5.rs index 175eebb3..9a0d71ad 100644 --- a/exercises/variables/variables5.rs +++ b/exercises/variables/variables5.rs @@ -1,11 +1,13 @@ // variables5.rs // Make me compile! Execute the command `rustlings hint variables5` if you want a hint :) -// I AM NOT DONE +// I AM DONE fn main() { let number = "T-H-R-E-E"; // don't change this line println!("Spell a Number : {}", number); - number = 3; - println!("Number plus two is : {}", number + 2); + { + let number = 3; + println!("Number plus two is : {}", number + 2); + } }