summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJawaad Mahmood <ideas@jawaadmahmood.com>2020-05-10 05:21:29 -0600
committerGitHub <noreply@github.com>2020-05-10 13:21:29 +0200
commit9f75554f2a30295996f03f0160b98c0458305502 (patch)
tree091ad39fee6a0c4319271b42a9dbb020ac823920
parent2b20c8a0f5774d07c58d110d75879f33fc6273b5 (diff)
fix(options1): Add hint about Array Initialization (#389)
-rw-r--r--info.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index 89a669c..c47041b 100644
--- a/info.toml
+++ b/info.toml
@@ -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]]