mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Fix typos
This commit is contained in:
parent
2ff1813746
commit
5bf8d1fa1b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue