updated info.toml

This commit is contained in:
Sanjay K 2020-04-05 09:45:07 -04:00
parent 05ca3d77f7
commit 3f8171475c
1 changed files with 15 additions and 15 deletions

View File

@ -520,6 +520,20 @@ 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"
mode = "compile"
hint = """
Check out some functions of Option:
is_some
is_none
unwrap
and:
pattern matching
"""
[[exercises]]
name = "result1"
path = "exercises/error_handling/result1.rs"
@ -701,18 +715,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."""
[[exercises]]
name = "option1"
path = "exercises/option/option1.rs"
mode = "compile"
hint = """
Check out some functions of Option:
is_some
is_none
unwrap
and:
pattern matching
"""
Otherwise, go ahead and solve try_from_into.rs first."""