diff options
| author | mokou <mokou@fastmail.com> | 2022-04-14 10:32:43 +0200 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-04-14 10:32:43 +0200 |
| commit | 76a36dd38594c63b4bd64e655efeb272ccfaf2a4 (patch) | |
| tree | c7be73bdff694750457f306afa883641f4f435df /info.toml | |
| parent | c39eb3fe551ec0ecfaa79c85b388426d1faa618a (diff) | |
chore: update errors1 comments and hint
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -490,7 +490,7 @@ name = "errors1" path = "exercises/error_handling/errors1.rs" mode = "test" hint = """ -`Err` is one of the variants of `Result`, so what the 2nd test is saying +`Ok` and `Err` are one of the variants of `Result`, so what the tests are saying is that `generate_nametag_text` should return a `Result` instead of an `Option`. @@ -500,9 +500,7 @@ To make this change, you'll need to: - change the body of the function to return `Ok(stuff)` where it currently returns `Some(stuff)` - change the body of the function to return `Err(error message)` where it - currently returns `None` - - change the first test to expect `Ok(stuff)` where it currently expects - `Some(stuff)`.""" + currently returns `None`""" [[exercises]] name = "errors2" |
