chore: Remove duplicate option1
exercise
This commit is contained in:
parent
3ab084a421
commit
2b80f6ed41
13
info.toml
13
info.toml
@ -509,17 +509,6 @@ https://doc.rust-lang.org/std/result/#results-must-be-used"""
|
|||||||
|
|
||||||
# OPTIONS / RESULTS
|
# OPTIONS / RESULTS
|
||||||
|
|
||||||
[[exercises]]
|
|
||||||
name = "option1"
|
|
||||||
path = "exercises/error_handling/option1.rs"
|
|
||||||
mode = "test"
|
|
||||||
hint = """
|
|
||||||
Try using a `match` statement where the arms are `Some(thing)` and `None`.
|
|
||||||
Or set a default value to print out if you get `None` by using the
|
|
||||||
function `unwrap_or`.
|
|
||||||
Or use an `if let` statement on the result of `pop()` to both destructure
|
|
||||||
a `Some` value and only print out something if we have a value!"""
|
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "option1"
|
name = "option1"
|
||||||
path = "exercises/option/option1.rs"
|
path = "exercises/option/option1.rs"
|
||||||
@ -762,4 +751,4 @@ path = "exercises/conversions/from_str.rs"
|
|||||||
mode = "test"
|
mode = "test"
|
||||||
hint = """
|
hint = """
|
||||||
If you've already solved try_from_into.rs, then this is almost a copy-paste.
|
If you've already solved try_from_into.rs, then this is almost a copy-paste.
|
||||||
Otherwise, go ahead and solve try_from_into.rs first."""
|
Otherwise, go ahead and solve try_from_into.rs first."""
|
||||||
|
Loading…
Reference in New Issue
Block a user