summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorSoroush Zare <ihaveint@gmail.com>2022-03-30 15:57:52 +0430
committerGitHub <noreply@github.com>2022-03-30 13:27:52 +0200
commit0bd7a0631a17a9d69af5746795a30efc9cf64e6e (patch)
tree9b15164b50db1ad9d70d1cea9379b76f3e40273a /exercises
parentbdf6efeccde2a669571fcc5dd68801c88c72d0f1 (diff)
fix(iterators1): reorder TODO steps
Update the TODO steps in the iterators1 exercise.
Diffstat (limited to 'exercises')
-rw-r--r--exercises/standard_library_types/iterators1.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/standard_library_types/iterators1.rs b/exercises/standard_library_types/iterators1.rs
index 4606ad3..5aa49b6 100644
--- a/exercises/standard_library_types/iterators1.rs
+++ b/exercises/standard_library_types/iterators1.rs
@@ -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
}