mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
chore(errors1): fix grammar typo in hint for exercise errors1
This commit corrects a grammar typo in the hint of the errors1 exercise, changing from: "`Ok` and `Err` are one of the variants of `Result`," to: "`Ok` and `Err` are the two variants of `Result`,"
This commit is contained in:
parent
b97c88f202
commit
5374811f96
|
@ -658,7 +658,7 @@ name = "errors1"
|
|||
path = "exercises/error_handling/errors1.rs"
|
||||
mode = "test"
|
||||
hint = """
|
||||
`Ok` and `Err` are one of the variants of `Result`, so what the tests are saying
|
||||
`Ok` and `Err` are the two variants of `Result`, so what the tests are saying
|
||||
is that `generate_nametag_text` should return a `Result` instead of an `Option`.
|
||||
|
||||
To make this change, you'll need to:
|
||||
|
|
Loading…
Reference in a new issue