Lower MSRV by using std::u64::MAX intsead of u64::MAX (#43)

This commit is contained in:
Tyler Neely 2020-11-30 19:02:57 +01:00 committed by GitHub
parent bb52124f20
commit 67275c2212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ pub use driver::block_on;
/// Use `Duration::MAX` once `duration_constants` are stabilized.
fn duration_max() -> Duration {
Duration::new(u64::MAX, 1_000_000_000 - 1)
Duration::new(std::u64::MAX, 1_000_000_000 - 1)
}
/// A future or stream that emits timed events.