From 43273aefa9cea8b4322e67ce2175cc38fd4f0e05 Mon Sep 17 00:00:00 2001 From: akshitgautam42 Date: Sat, 11 Nov 2023 15:41:58 +0530 Subject: [PATCH] Exercise 4 --- exercises/01_variables/variables2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/01_variables/variables2.rs b/exercises/01_variables/variables2.rs index e1c23edf..e697dcd7 100644 --- a/exercises/01_variables/variables2.rs +++ b/exercises/01_variables/variables2.rs @@ -3,10 +3,10 @@ // Execute `rustlings hint variables2` or use the `hint` watch subcommand for a // hint. -// I AM NOT DONE + fn main() { - let x; + let x: i32 = 0; if x == 10 { println!("x is ten!"); } else {