Skip to content

Use `checked_(add|sub)_offset` in `Add` and `Sub` impls of `DateTime`

Codecov / codecov/patch failed Sep 8, 2023 in 0s

88.77% of diff hit (target 91.40%)

View this Pull Request on Codecov

88.77% of diff hit (target 91.40%)

Annotations

Check warning on line 1176 in src/datetime/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/datetime/mod.rs#L1173-L1176

Added lines #L1173 - L1176 were not covered by tests

Check warning on line 1233 in src/datetime/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/datetime/mod.rs#L1230-L1233

Added lines #L1230 - L1233 were not covered by tests

Check warning on line 1257 in src/naive/time/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/naive/time/mod.rs#L1255-L1257

Added lines #L1255 - L1257 were not covered by tests