mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
fix: clean up "return" wording in iterators4
This commit is contained in:
parent
3eabf2aafc
commit
d8ecf4bc2d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue