Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Panic on overflow in
Duration::new
constructor
Panicking on overflow is also done for `+`, and it replaces the currently incorrect overflow behavior of wrapping around, which does not make sense for `Duration`s.
- Loading branch information