1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-10 00:26:07 +02:00

fix: clean up "return" wording in iterators4

This commit is contained in:
liv 2024-03-15 15:01:32 +01:00
parent 3eabf2aafc
commit d8ecf4bc2d

View File

@ -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