Closed pitdicker closed 6 months ago
Attention: Patch coverage is 94.36620%
with 4 lines
in your changes are missing coverage. Please review.
Project coverage is 93.98%. Comparing base (
21ee9b7
) to head (bb85a51
).
Files | Patch % | Lines |
---|---|---|
src/time_delta.rs | 96.55% | 2 Missing :warning: |
src/lib.rs | 66.66% | 1 Missing :warning: |
src/naive/datetime/mod.rs | 83.33% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I kept
TimeDelta::{checked_add, checked_sub}
like they are, returning anOption
. That seems in line withchecked_add
on integers.We are now at a point where clean-ups are possible. The last commit gets rid of the
expect(ok!(/* ... */))
that developed while parts of the API returnedResult
and parts returnedOption
.Once this PR and #1537 land we can get rid of the
ok!
andtry_opt!
macros.