diff options
| author | mo8it <mo8it@proton.me> | 2024-06-26 15:54:18 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-06-26 15:54:18 +0200 |
| commit | 9b7a5c041e9856379154b109b2ee2f3e979d70f7 (patch) | |
| tree | 804285d518f9f7aeb738fa704c5ab43ce76b48a2 /rustlings-macros | |
| parent | c46d8bdf95c9a2025ee943feb208102a94b25ee6 (diff) | |
errors4 solution
Diffstat (limited to 'rustlings-macros')
| -rw-r--r-- | rustlings-macros/info.toml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 74cb79d..d39044c 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -683,11 +683,9 @@ name = "errors4" dir = "13_error_handling" hint = """ `PositiveNonzeroInteger::new` is always creating a new instance and returning -an `Ok` result. - -It should be doing some checking, returning an `Err` result if those checks -fail, and only returning an `Ok` result if those checks determine that -everything is... okay :)""" +an `Ok` result. But it should be doing some checking, returning an `Err` if +those checks fail, and only returning an `Ok` if those checks determine that +everything is… okay :)""" [[exercises]] name = "errors5" |
