Skip to content

Commit 4d26307

Browse files
authored
Merge pull request #1607 from softarn/main
chore(errors4): improved comment
2 parents 4592b4c + be8d1df commit 4d26307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/error_handling/errors4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ enum CreationError {
1616

1717
impl PositiveNonzeroInteger {
1818
fn new(value: i64) -> Result<PositiveNonzeroInteger, CreationError> {
19-
// Hmm...? Why is this only returning an Ok value?
19+
// Hmm... Why is this always returning an Ok value?
2020
Ok(PositiveNonzeroInteger(value as u64))
2121
}
2222
}

0 commit comments

Comments
 (0)