From f2eb3fbb17b8ed0b29b1ff1acab7ce4fccb64e23 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Mon, 14 Sep 2026 17:35:40 -0500 Subject: rustlings: complete 00 and 01 --- rustlings/exercises/01_variables/variables2.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rustlings/exercises/01_variables/variables2.rs') diff --git a/rustlings/exercises/01_variables/variables2.rs b/rustlings/exercises/01_variables/variables2.rs index e2a3603..b35a0bf 100644 --- a/rustlings/exercises/01_variables/variables2.rs +++ b/rustlings/exercises/01_variables/variables2.rs @@ -1,6 +1,5 @@ fn main() { - // TODO: Change the line below to fix the compiler error. - let x; + let x = 10; if x == 10 { println!("x is ten!"); -- cgit v1.2.3