@@ -809,7 +809,7 @@ If you use a lifetime annotation in a struct's fields, where else does it need t
809
809
810
810
[[exercises ]]
811
811
name = " iterators1"
812
- path = " exercises/standard_library_types /iterators1.rs"
812
+ path = " exercises/iterators /iterators1.rs"
813
813
mode = " compile"
814
814
hint = """
815
815
Step 1:
@@ -826,7 +826,7 @@ https://doc.rust-lang.org/std/iter/trait.Iterator.html for some ideas.
826
826
827
827
[[exercises ]]
828
828
name = " iterators2"
829
- path = " exercises/standard_library_types /iterators2.rs"
829
+ path = " exercises/iterators /iterators2.rs"
830
830
mode = " test"
831
831
hint = """
832
832
Step 1
@@ -847,7 +847,7 @@ and very general. Rust just needs to know the desired type."""
847
847
848
848
[[exercises ]]
849
849
name = " iterators3"
850
- path = " exercises/standard_library_types /iterators3.rs"
850
+ path = " exercises/iterators /iterators3.rs"
851
851
mode = " test"
852
852
hint = """
853
853
The divide function needs to return the correct error when even division is not
@@ -866,7 +866,7 @@ can make the solution to this exercise infinitely easier."""
866
866
867
867
[[exercises ]]
868
868
name = " iterators4"
869
- path = " exercises/standard_library_types /iterators4.rs"
869
+ path = " exercises/iterators /iterators4.rs"
870
870
mode = " test"
871
871
hint = """
872
872
In an imperative language, you might write a for loop that updates
@@ -878,7 +878,7 @@ Hint 2: Check out the `fold` and `rfold` methods!"""
878
878
879
879
[[exercises ]]
880
880
name = " iterators5"
881
- path = " exercises/standard_library_types /iterators5.rs"
881
+ path = " exercises/iterators /iterators5.rs"
882
882
mode = " test"
883
883
hint = """
884
884
The documentation for the std::iter::Iterator trait contains numerous methods
@@ -960,7 +960,7 @@ See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info.
960
960
961
961
[[exercises ]]
962
962
name = " box1"
963
- path = " exercises/standard_library_types /box1.rs"
963
+ path = " exercises/smart_pointers /box1.rs"
964
964
mode = " test"
965
965
hint = """
966
966
Step 1
@@ -978,7 +978,7 @@ and try other types!
978
978
979
979
[[exercises ]]
980
980
name = " rc1"
981
- path = " exercises/standard_library_types /rc1.rs"
981
+ path = " exercises/smart_pointers /rc1.rs"
982
982
mode = " compile"
983
983
hint = """
984
984
This is a straightforward exercise to use the Rc<T> type. Each Planet has
@@ -992,7 +992,7 @@ https://doc.rust-lang.org/book/ch15-04-rc.html
992
992
993
993
[[exercises ]]
994
994
name = " arc1"
995
- path = " exercises/standard_library_types /arc1.rs"
995
+ path = " exercises/smart_pointers /arc1.rs"
996
996
mode = " compile"
997
997
hint = """
998
998
Make `shared_numbers` be an `Arc` from the numbers vector. Then, in order
@@ -1009,7 +1009,7 @@ https://doc.rust-lang.org/stable/book/ch16-00-concurrency.html
1009
1009
1010
1010
[[exercises ]]
1011
1011
name = " cow1"
1012
- path = " exercises/standard_library_types /cow1.rs"
1012
+ path = " exercises/smart_pointers /cow1.rs"
1013
1013
mode = " compile"
1014
1014
hint = """
1015
1015
Since the vector is already owned, the `Cow` type doesn't need to clone it.
0 commit comments