chore: changed errors3 mode from test to compile
This commit is contained in:
parent
04dbf03ace
commit
96c56ab08a
@ -470,7 +470,7 @@ and give it a try!"""
|
|||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "errors3"
|
name = "errors3"
|
||||||
path = "exercises/error_handling/errors3.rs"
|
path = "exercises/error_handling/errors3.rs"
|
||||||
mode = "test"
|
mode = "compile"
|
||||||
hint = """
|
hint = """
|
||||||
If other functions can return a `Result`, why shouldn't `main`?"""
|
If other functions can return a `Result`, why shouldn't `main`?"""
|
||||||
|
|
||||||
@ -694,7 +694,7 @@ Step 2 & step 2.1:
|
|||||||
Very similar to the lines above and below. You've got this!
|
Very similar to the lines above and below. You've got this!
|
||||||
Step 3:
|
Step 3:
|
||||||
An iterator goes through all elements in a collection, but what if we've run out of
|
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
|
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 for some ideas.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user