diff options
Diffstat (limited to 'exercises/01_variables/variables2.rs')
| -rw-r--r-- | exercises/01_variables/variables2.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/exercises/01_variables/variables2.rs b/exercises/01_variables/variables2.rs index e1c23ed..e2a3603 100644 --- a/exercises/01_variables/variables2.rs +++ b/exercises/01_variables/variables2.rs @@ -1,12 +1,7 @@ -// variables2.rs -// -// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a -// hint. - -// I AM NOT DONE - fn main() { + // TODO: Change the line below to fix the compiler error. let x; + if x == 10 { println!("x is ten!"); } else { |
