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.
2 parents 47f8199 + a33501e commit e479ec8Copy full SHA for e479ec8
exercises/18_iterators/iterators4.rs
@@ -1,4 +1,4 @@
1
-fn factorial(num: u8) -> u64 {
+fn factorial(num: u64) -> u64 {
2
// TODO: Complete this function to return the factorial of `num`.
3
// Do not use:
4
// - early returns (using the `return` keyword explicitly)
0 commit comments