We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eabf2a commit d8ecf4bCopy full SHA for d8ecf4b
exercises/18_iterators/iterators4.rs
@@ -8,7 +8,7 @@
8
pub fn factorial(num: u64) -> u64 {
9
// Complete this function to return the factorial of num
10
// Do not use:
11
- // - return
+ // - early returns (using the `return` keyword explicitly)
12
// Try not to use:
13
// - imperative style loops (for, while)
14
// - additional variables
0 commit comments