Almost Correct: Assignment
We'll cover the following...
A let statement defines a new variable. What if we did the same let keep_going = false;, but without the let? In other words, what if our program looks like this:
Press + to interact
Rust 1.40.0
fn main() {let keep_going = true;while keep_going {println!("Inside the while loop");keep_going = false;}}
This is close, but no cigar. Rust complains with the following error message:
error[E0384]: ... Ask