summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorSanjay K <sanjaykdragon@gmail.com>2020-03-05 15:52:54 -0500
committerSanjay K <sanjaykdragon@gmail.com>2020-03-05 15:52:54 -0500
commit135e5d47a7c395aece6f6022117fb20c82f2d3d4 (patch)
tree0375bd2e9e78e2833acba7e475c6284c63658d04 /info.toml
parent8b9479071c0ac4f5dc1318358d7d7e3a19ce98e2 (diff)
feat: added excercise for option
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml16
1 files changed, 15 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index 82c22b7..4490551 100644
--- a/info.toml
+++ b/info.toml
@@ -701,4 +701,18 @@ 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.""" \ No newline at end of file
+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
+""" \ No newline at end of file