This repository has been archived on 2023-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
rustlings-exercises-completed/standard_library_types
Matthew Williamson e0274e07d0 Create iterators4.rs
Tackles https://github.com/carols10cents/rustlings/issues/15 . I think this allows for varying levels of difficulty depending on a users background. But ideally people can move there way up from 1, 2, 3 (Numbers below).

1. 
    let mut result = 1;
    for i in 1..x + 1 {
        result *= i;
    }
    result

2. 
    match x {
        0 | 1 => 1,
        x => x * factorial(x - 1),
    }
3. 
    (1..x + 1).product()
2017-01-05 22:38:07 -05:00
..
arc1.rs Incorporate Arc exercise from @ConnyOnny!! 🌟 2015-09-30 21:10:26 -04:00
iterator3.rs Incorporate ConnyOnny's iterator exercise! 2016-04-19 16:00:30 -04:00
iterators4.rs Create iterators4.rs 2017-01-05 22:38:07 -05:00