Skip to content

Make remaining methods on `NaiveDateTime` const

Codecov / codecov/patch succeeded Feb 1, 2024 in 0s

96.42% of diff hit (target 91.84%)

View this Pull Request on Codecov

96.42% of diff hit (target 91.84%)

Annotations

Check warning on line 360 in src/duration.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/duration.rs#L360

Added line #L360 was not covered by tests

Check warning on line 510 in src/naive/datetime/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/naive/datetime/mod.rs#L507-L510

Added lines #L507 - L510 were not covered by tests

Check warning on line 959 in src/naive/datetime/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/naive/datetime/mod.rs#L959

Added line #L959 was not covered by tests