Skip to content

Commit efdebd4

Browse files
authored
improve hint for iterators1
1 parent 2398f37 commit efdebd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

info.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,9 +818,9 @@ Step 1:
818818
We need to apply something to the collection `my_fav_fruits` before we start to go through
819819
it. What could that be? Take a look at the struct definition for a vector for inspiration:
820820
https://doc.rust-lang.org/std/vec/struct.Vec.html.
821-
Step 2 & step 2.1:
821+
Step 2 & step 3:
822822
Very similar to the lines above and below. You've got this!
823-
Step 3:
823+
Step 4:
824824
An iterator goes through all elements in a collection, but what if we've run out of
825825
elements? What should we expect here? If you're stuck, take a look at
826826
https://doc.rust-lang.org/std/iter/trait.Iterator.html for some ideas.

0 commit comments

Comments
 (0)