diff options
| author | mo8it <mo8it@proton.me> | 2024-06-28 02:07:56 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-28 02:07:56 +0200 |
| commit | cf9041c0e42120199e09e74e65c52d69c00db19c (patch) | |
| tree | b98970867c3aac317800e1513a4dfd6c5f61f061 /rustlings-macros/info.toml | |
| parent | 746cf6863dee8f676596b07e74bad1a19fa2579e (diff) | |
iterators1 solution
Diffstat (limited to 'rustlings-macros/info.toml')
| -rw-r--r-- | rustlings-macros/info.toml | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 5c24cd3..5e93986 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -886,22 +886,9 @@ https://doc.rust-lang.org/stable/book/ch11-01-writing-tests.html#checking-for-pa name = "iterators1" dir = "18_iterators" hint = """ -Step 1: - -We need to apply something to the collection `my_fav_fruits` before we start to -go through it. What could that be? Take a look at the struct definition for a -vector for inspiration: -https://doc.rust-lang.org/std/vec/struct.Vec.html - -Step 2 & step 3: - -Very similar to the lines above and below. You've got this! - -Step 4: - An iterator goes through all elements in a collection, but what if we've run out of elements? What should we expect here? If you're stuck, take a look at -https://doc.rust-lang.org/std/iter/trait.Iterator.html for some ideas.""" +https://doc.rust-lang.org/std/iter/trait.Iterator.html""" [[exercises]] name = "iterators2" |
