Skip to content

Commit e479ec8

Browse files
authored
Merge pull request #2018 from Nahor/iterators4
Unify fn signature in iterators4 exercise and solution
2 parents 47f8199 + a33501e commit e479ec8

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
@@ -1,4 +1,4 @@
1-
fn factorial(num: u8) -> u64 {
1+
fn factorial(num: u64) -> u64 {
22
// TODO: Complete this function to return the factorial of `num`.
33
// Do not use:
44
// - early returns (using the `return` keyword explicitly)

0 commit comments

Comments
 (0)