1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-07 20:02:17 +02: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

View File

@ -2,7 +2,7 @@ fn main() {
let number = "T-H-R-E-E"; // Don't change this line
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;
println!("Number plus two is: {}", number + 2);
}

View File

@ -151,7 +151,7 @@ fn main() -> Result<()> {
let notify_exercise_names = if args.manual_run {
None
} 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.
Some(
&*app_state