Skip to content

v0.2.22

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Sep 01:28
ad4740f
Fix implementation of `Duration::new`

A couple hacks are needed to maintain it being `const fn`. Generally
speaking, this patch just ensures that the sign of the nanoseconds
component matches the sign of the seconds component. To do this, it is
necessary to carry over any remainder.