diff --git a/solutions/basic-types/functions.md b/solutions/basic-types/functions.md index da499fc..f33e184 100644 --- a/solutions/basic-types/functions.md +++ b/solutions/basic-types/functions.md @@ -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)) } } diff --git a/zh-CN/src/basic-types/functions.md b/zh-CN/src/basic-types/functions.md index d3f93cb..b5528e6 100644 --- a/zh-CN/src/basic-types/functions.md +++ b/zh-CN/src/basic-types/functions.md @@ -86,7 +86,7 @@ fn main() { } }; - println!("Excercise Failed if printing out this line!"); + println!("Exercise Failed if printing out this line!"); } ```