This commit is contained in:
Folyd Wang 2022-07-12 21:59:42 +08:00
parent e9f3b398c5
commit cbbcaa3432
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ fn never_return() -> ! {
// implement this function, don't modify fn signatures
loop {
println!("I return nothing");
// sleeping for 1 second to avoid exhausting the cpu resoucre
// sleeping for 1 second to avoid exhausting the cpu resource
thread::sleep(time::Duration::from_secs(1))
}
}

View File

@ -86,7 +86,7 @@ fn main() {
}
};
println!("Excercise Failed if printing out this line!");
println!("Exercise Failed if printing out this line!");
}
```