summaryrefslogtreecommitdiff
path: root/rustlings/exercises/01_variables/variables2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rustlings/exercises/01_variables/variables2.rs')
-rw-r--r--rustlings/exercises/01_variables/variables2.rs3
1 files changed, 1 insertions, 2 deletions
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!");