updated info.toml

This commit is contained in:
Sanjay K 2020-04-05 09:45:07 -04:00
parent 05ca3d77f7
commit 3f8171475c

View file

@ -520,6 +520,20 @@ function `unwrap_or`.
Or use an `if let` statement on the result of `pop()` to both destructure 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!""" 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]] [[exercises]]
name = "result1" name = "result1"
path = "exercises/error_handling/result1.rs" path = "exercises/error_handling/result1.rs"
@ -702,17 +716,3 @@ 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."""
[[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
"""