Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow more integer types when creating Instants
This allows any type that can be converted into an `i64` to be used when creating an Instant. Because this is no longer a concrete type, this change may break existing code like the following: error: attempt to multiply with overflow --> src/time.rs:282:37 | 282 | epoc = Instant::from_millis(2085955200 * 1000).into(); | ^^^^^^^^^^^^^^^^^ | = note: #[deny(const_err)] on by default Closes: #272 Approved by: whitequark
- Loading branch information