Skip to content

Commit d8ecf4b

Browse files
author
liv
committed
fix: clean up "return" wording in iterators4
1 parent 3eabf2a commit d8ecf4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/18_iterators/iterators4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
pub fn factorial(num: u64) -> u64 {
99
// Complete this function to return the factorial of num
1010
// Do not use:
11-
// - return
11+
// - early returns (using the `return` keyword explicitly)
1212
// Try not to use:
1313
// - imperative style loops (for, while)
1414
// - additional variables

0 commit comments

Comments
 (0)