mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
Fix typo
This commit is contained in:
@ -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))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user