summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authormokou <mokou@fastmail.com>2022-04-14 10:32:43 +0200
committermokou <mokou@fastmail.com>2022-04-14 10:32:43 +0200
commit76a36dd38594c63b4bd64e655efeb272ccfaf2a4 (patch)
treec7be73bdff694750457f306afa883641f4f435df /info.toml
parentc39eb3fe551ec0ecfaa79c85b388426d1faa618a (diff)
chore: update errors1 comments and hint
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml6
1 files changed, 2 insertions, 4 deletions
diff --git a/info.toml b/info.toml
index 9430a16..56fa7ec 100644
--- a/info.toml
+++ b/info.toml
@@ -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"