chore: Remove duplicate option1 exercise

This commit is contained in:
fmoko 2020-04-11 17:27:10 +02:00 committed by GitHub
parent 3ab084a421
commit 2b80f6ed41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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