diff options
| author | liv <mokou@fastmail.com> | 2023-08-01 10:49:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-01 10:49:55 +0200 |
| commit | 4d26307cfcef1f49022902e3cefb7e0f337a46f1 (patch) | |
| tree | 9bd282184bfc5325b864912017f56f6c6d185d31 /exercises | |
| parent | 4592b4c409b3152a801a39a9278db6cbb583fa3c (diff) | |
| parent | be8d1df8b90ad6f15c529e8460a6de72bba52de3 (diff) | |
Merge pull request #1607 from softarn/main
chore(errors4): improved comment
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/error_handling/errors4.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/error_handling/errors4.rs b/exercises/error_handling/errors4.rs index e04bff7..d6d6fcb 100644 --- a/exercises/error_handling/errors4.rs +++ b/exercises/error_handling/errors4.rs @@ -16,7 +16,7 @@ enum CreationError { impl PositiveNonzeroInteger { fn new(value: i64) -> Result<PositiveNonzeroInteger, CreationError> { - // Hmm...? Why is this only returning an Ok value? + // Hmm... Why is this always returning an Ok value? Ok(PositiveNonzeroInteger(value as u64)) } } |
