diff options
| author | fmoko <mokou@posteo.de> | 2020-04-05 15:58:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-05 15:58:09 +0200 |
| commit | 7ce42941ea3bed02bb7286e90baa27773a59c224 (patch) | |
| tree | 7a28e771225ea2786ab05b77bf516dd2833498a3 /info.toml | |
| parent | b135b589e0ffa479b7f6071d89a0a185d262a84f (diff) | |
| parent | 3f8171475cd1a660bc6fe1798de8442c0db9efff (diff) | |
Merge pull request #282 from sanjaykdragon/master
feat: added option exercise
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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" |
