Anonymous user
Factorial: Difference between revisions
→{{header|Rust}}
m (→Iterative: Common bug in R: 2:1 is c(2, 1) and not the empty list.) |
|||
Line 6,551:
fn factorial_iterative(n: u64) -> u64 {
(1..=n
}
|
m (→Iterative: Common bug in R: 2:1 is c(2, 1) and not the empty list.) |
|||
Line 6,551:
fn factorial_iterative(n: u64) -> u64 {
(1..=n
}
|