mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
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
|
||||
|
||||
[[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]]
|
||||
name = "option1"
|
||||
path = "exercises/option/option1.rs"
|
||||
|
|
Loading…
Reference in a new issue