diff options
| author | liv <mokou@fastmail.com> | 2023-08-26 22:27:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-26 22:27:18 +0200 |
| commit | 38b4327f41ec8c5e1421b57dc78cac4062534678 (patch) | |
| tree | 9da47803f830035fb1d02a88519c442edb209ba7 | |
| parent | 464cb5566d9e36bf6f8ccf83a105097bce91ad4d (diff) | |
| parent | fa0463b3b219f3d10e8ae2e04bc9fbb67e360e9b (diff) | |
Merge pull request #1632 from eLVas/main
fix(errors1): change Result to Option in exersise description
| -rw-r--r-- | exercises/error_handling/errors1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/error_handling/errors1.rs b/exercises/error_handling/errors1.rs index 13d2724..0ba59a5 100644 --- a/exercises/error_handling/errors1.rs +++ b/exercises/error_handling/errors1.rs @@ -3,7 +3,7 @@ // This function refuses to generate text to be printed on a nametag if you pass // it an empty string. It'd be nicer if it explained what the problem was, // instead of just sometimes returning `None`. Thankfully, Rust has a similar -// construct to `Result` that can be used to express error conditions. Let's use +// construct to `Option` that can be used to express error conditions. Let's use // it! // // Execute `rustlings hint errors1` or use the `hint` watch subcommand for a |
