1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Fix typos

This commit is contained in:
mo8it 2024-06-14 13:32:37 +02:00
parent 2ff1813746
commit 5bf8d1fa1b
2 changed files with 2 additions and 2 deletions

@ -2,7 +2,7 @@ fn main() {
let number = "T-H-R-E-E"; // Don't change this line let number = "T-H-R-E-E"; // Don't change this line
println!("Spell a number: {}", number); println!("Spell a number: {}", number);
// TODO: Fix the compiler error by changing the line below without renaming the the variable. // TODO: Fix the compiler error by changing the line below without renaming the variable.
number = 3; number = 3;
println!("Number plus two is: {}", number + 2); println!("Number plus two is: {}", number + 2);
} }

@ -151,7 +151,7 @@ fn main() -> Result<()> {
let notify_exercise_names = if args.manual_run { let notify_exercise_names = if args.manual_run {
None None
} else { } else {
// For the the notify event handler thread. // For the notify event handler thread.
// Leaking is not a problem because the slice lives until the end of the program. // Leaking is not a problem because the slice lives until the end of the program.
Some( Some(
&*app_state &*app_state