Skip to content

Commit

Permalink
fix: clean up "return" wording in iterators4
Browse files Browse the repository at this point in the history
  • Loading branch information
shadows-withal committed Mar 15, 2024
1 parent 3eabf2a commit d8ecf4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/18_iterators/iterators4.rs
Expand Up @@ -8,7 +8,7 @@
pub fn factorial(num: u64) -> u64 {
// Complete this function to return the factorial of num
// Do not use:
// - return
// - early returns (using the `return` keyword explicitly)
// Try not to use:
// - imperative style loops (for, while)
// - additional variables
Expand Down

0 comments on commit d8ecf4b

Please sign in to comment.