mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
updated info.toml
This commit is contained in:
parent
05ca3d77f7
commit
3f8171475c
1 changed files with 15 additions and 15 deletions
30
info.toml
30
info.toml
|
@ -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."""
|
Loading…
Reference in a new issue