mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-29 08:44:16 -05:00
fix(options1): Add hint about Array Initialization (#389)
This commit is contained in:
parent
2b20c8a0f5
commit
9f75554f2a
1 changed files with 3 additions and 1 deletions
|
@ -561,13 +561,15 @@ name = "option1"
|
|||
path = "exercises/option/option1.rs"
|
||||
mode = "compile"
|
||||
hint = """
|
||||
Check out some functions of Option:
|
||||
Hint 1: Check out some functions of Option:
|
||||
is_some
|
||||
is_none
|
||||
unwrap
|
||||
|
||||
and:
|
||||
pattern matching
|
||||
|
||||
Hint 2: There are no sensible defaults for the value of an Array; the values need to be filled before use.
|
||||
"""
|
||||
|
||||
[[exercises]]
|
||||
|
|
Loading…
Reference in a new issue