diff options
| author | Sanjay K <sanjaykdragon@gmail.com> | 2020-03-05 15:52:54 -0500 |
|---|---|---|
| committer | Sanjay K <sanjaykdragon@gmail.com> | 2020-03-05 15:52:54 -0500 |
| commit | 135e5d47a7c395aece6f6022117fb20c82f2d3d4 (patch) | |
| tree | 0375bd2e9e78e2833acba7e475c6284c63658d04 /info.toml | |
| parent | 8b9479071c0ac4f5dc1318358d7d7e3a19ce98e2 (diff) | |
feat: added excercise for option
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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 |
