chore: Remove duplicate option1
exercise
This commit is contained in:
parent
3ab084a421
commit
2b80f6ed41
11
info.toml
11
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user