Merge pull request #265 from madcodelife/master

Fix typo
This commit is contained in:
Sunface 2022-07-18 09:13:15 +08:00 committed by GitHub
commit 7e5116b80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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!");
}
```