diff options
| author | mo8it <mo8it@proton.me> | 2024-06-06 01:59:09 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-06 01:59:09 +0200 |
| commit | f8d38320cd239d0abbd1b24fc972fd6f7f592ed9 (patch) | |
| tree | 1b4491c5ae45ae61bc9c35ad7d4871a3f47b34c9 | |
| parent | 42bd0b8b75cbec30cb506f42295413ba0a6a1680 (diff) | |
Fix typos
| -rw-r--r-- | exercises/02_functions/functions5.rs | 2 | ||||
| -rw-r--r-- | solutions/02_functions/functions5.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/02_functions/functions5.rs b/exercises/02_functions/functions5.rs index 31fd057..34a2ac7 100644 --- a/exercises/02_functions/functions5.rs +++ b/exercises/02_functions/functions5.rs @@ -1,4 +1,4 @@ -// TODO: Fix the function body without chaning the signature. +// TODO: Fix the function body without changing the signature. fn square(num: i32) -> i32 { num * num; } diff --git a/solutions/02_functions/functions5.rs b/solutions/02_functions/functions5.rs index 0335418..677f327 100644 --- a/solutions/02_functions/functions5.rs +++ b/solutions/02_functions/functions5.rs @@ -1,5 +1,5 @@ fn square(num: i32) -> i32 { - // Removed the semicolon `;` at the end of the line below to implicitely return the result. + // Removed the semicolon `;` at the end of the line below to implicitly return the result. num * num } |
