Skip to content

Commit 2b80f6e

Browse files
author
fmoko
authored
chore: Remove duplicate option1 exercise
1 parent 3ab084a commit 2b80f6e

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

info.toml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -509,17 +509,6 @@ https://doc.rust-lang.org/std/result/#results-must-be-used"""
509509

510510
# OPTIONS / RESULTS
511511

512-
[[exercises]]
513-
name = "option1"
514-
path = "exercises/error_handling/option1.rs"
515-
mode = "test"
516-
hint = """
517-
Try using a `match` statement where the arms are `Some(thing)` and `None`.
518-
Or set a default value to print out if you get `None` by using the
519-
function `unwrap_or`.
520-
Or use an `if let` statement on the result of `pop()` to both destructure
521-
a `Some` value and only print out something if we have a value!"""
522-
523512
[[exercises]]
524513
name = "option1"
525514
path = "exercises/option/option1.rs"
@@ -762,4 +751,4 @@ path = "exercises/conversions/from_str.rs"
762751
mode = "test"
763752
hint = """
764753
If you've already solved try_from_into.rs, then this is almost a copy-paste.
765-
Otherwise, go ahead and solve try_from_into.rs first."""
754+
Otherwise, go ahead and solve try_from_into.rs first."""

0 commit comments

Comments
 (0)