fix(options1): Add hint about Array Initialization (#389)

This commit is contained in:
Jawaad Mahmood 2020-05-10 05:21:29 -06:00 committed by GitHub
parent 2b20c8a0f5
commit 9f75554f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -561,13 +561,15 @@ name = "option1"
path = "exercises/option/option1.rs" path = "exercises/option/option1.rs"
mode = "compile" mode = "compile"
hint = """ hint = """
Check out some functions of Option: Hint 1: Check out some functions of Option:
is_some is_some
is_none is_none
unwrap unwrap
and: and:
pattern matching pattern matching
Hint 2: There are no sensible defaults for the value of an Array; the values need to be filled before use.
""" """
[[exercises]] [[exercises]]