diff options
| author | liv <mokou@fastmail.com> | 2023-06-26 09:58:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-26 09:58:08 +0200 |
| commit | 9379d062757d8df9cdaf9ee0ea1fda73a4928f24 (patch) | |
| tree | b5c0ed5d3afe3a5499637ea4d5e19a56ff4def10 | |
| parent | adc7ca56901ed1f53659fb8fa139a65423affd13 (diff) | |
| parent | eacf7db6f34f7c884b2a736a35fa997299b34485 (diff) | |
Merge pull request #1573 from novanish/refactor-error-1-comment
refactor: Update comment to use correct construct name 'Result' insteā¦
| -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 0ba59a5..13d2724 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 `Option` that can be used to express error conditions. Let's use +// construct to `Result` that can be used to express error conditions. Let's use // it! // // Execute `rustlings hint errors1` or use the `hint` watch subcommand for a |
