mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 23:10:30 +00:00
Fix typos
This commit is contained in:
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
|
||||
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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue