Skip to content

Commit

Permalink
chore: Remove duplicate option1 exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoko authored and wanglongqi committed Apr 13, 2020
1 parent 6d5e621 commit da71660
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -762,4 +751,4 @@ path = "exercises/conversions/from_str.rs"
mode = "test"
hint = """
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."""

0 comments on commit da71660

Please sign in to comment.