diff options
| author | mo8it <mo8it@proton.me> | 2024-06-28 15:00:13 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-28 15:00:13 +0200 |
| commit | 56a9197f55356a0a6503d6fa6cb2241d676bd051 (patch) | |
| tree | 9515db708c2646e2eaf7f53b112dbe16b8fff7de /rustlings-macros/info.toml | |
| parent | eddbb97934b8d358b4fd20cc3063cf4872e39567 (diff) | |
iterators3 solution
Diffstat (limited to 'rustlings-macros/info.toml')
| -rw-r--r-- | rustlings-macros/info.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 5a33788..8b1feb4 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -922,8 +922,8 @@ powerful and very general. Rust just needs to know the desired type.""" name = "iterators3" dir = "18_iterators" hint = """ -The `divide` function needs to return the correct error when even division is -not possible. +The `divide` function needs to return the correct error when the divisor is 0 or +when even division is not possible. The `division_results` variable needs to be collected into a collection type. @@ -934,7 +934,7 @@ The `list_of_results` function needs to return a vector of results. See https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect for how the `FromIterator` trait is used in `collect()`. This trait is REALLY -powerful! It can make the solution to this exercise infinitely easier.""" +powerful! It can make the solution to this exercise much easier.""" [[exercises]] name = "iterators4" |
