edf77c73d8
I've seen at least one case in prod where the UTC clock goes backwards. The `TimeProvider` and `Time` interface even warns about that. However there was a `Sub` impl that would panic if that happens and even though this was documented, I think we can do better and just not offer a panicky interface at all. So this removes the `Sub` impl. and replaces all uses with `checked_duration_since`. |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml |