1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

fix(iterators1): reorder TODO steps

Update the TODO steps in the iterators1 exercise.
This commit is contained in:
Soroush Zare 2022-03-30 15:57:52 +04:30 committed by GitHub
parent bdf6efeccd
commit 0bd7a0631a
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -18,7 +18,7 @@ fn main () {
assert_eq!(my_iterable_fav_fruits.next(), Some(&"banana"));
assert_eq!(my_iterable_fav_fruits.next(), ???); // TODO: Step 2
assert_eq!(my_iterable_fav_fruits.next(), Some(&"avocado"));
assert_eq!(my_iterable_fav_fruits.next(), ???); // TODO: Step 2.1
assert_eq!(my_iterable_fav_fruits.next(), Some(&"raspberry"));
assert_eq!(my_iterable_fav_fruits.next(), ???); // TODO: Step 3
assert_eq!(my_iterable_fav_fruits.next(), Some(&"raspberry"));
assert_eq!(my_iterable_fav_fruits.next(), ???); // TODO: Step 4
}