chore: changed errors3 mode from test to compile

This commit is contained in:
apogeeoak 2021-03-12 14:04:29 -05:00 committed by GitHub
parent 04dbf03ace
commit 96c56ab08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.
""" """