Skip to content

Commit 67275c2

Browse files
authored
Lower MSRV by using std::u64::MAX intsead of u64::MAX (async-rs#43)
1 parent bb52124 commit 67275c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub use driver::block_on;
8787

8888
/// Use `Duration::MAX` once `duration_constants` are stabilized.
8989
fn duration_max() -> Duration {
90-
Duration::new(u64::MAX, 1_000_000_000 - 1)
90+
Duration::new(std::u64::MAX, 1_000_000_000 - 1)
9191
}
9292

9393
/// A future or stream that emits timed events.

0 commit comments

Comments
 (0)