summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorfmoko <mokou@posteo.de>2020-04-05 15:58:09 +0200
committerGitHub <noreply@github.com>2020-04-05 15:58:09 +0200
commit7ce42941ea3bed02bb7286e90baa27773a59c224 (patch)
tree7a28e771225ea2786ab05b77bf516dd2833498a3 /info.toml
parentb135b589e0ffa479b7f6071d89a0a185d262a84f (diff)
parent3f8171475cd1a660bc6fe1798de8442c0db9efff (diff)
Merge pull request #282 from sanjaykdragon/master
feat: added option exercise
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/info.toml b/info.toml
index f067ac4..ec8da2c 100644
--- a/info.toml
+++ b/info.toml
@@ -521,6 +521,20 @@ 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"
mode = "test"