diff options
Diffstat (limited to 'tokio/src/time/wheel/mod.rs')
-rw-r--r-- | tokio/src/time/wheel/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/time/wheel/mod.rs b/tokio/src/time/wheel/mod.rs index 03861240..18559dfd 100644 --- a/tokio/src/time/wheel/mod.rs +++ b/tokio/src/time/wheel/mod.rs @@ -47,7 +47,7 @@ pub(crate) struct Wheel { /// precision of 1 millisecond. const NUM_LEVELS: usize = 6; -/// The maximum duration of a delay +/// The maximum duration of a `Sleep` const MAX_DURATION: u64 = (1 << (6 * NUM_LEVELS)) - 1; #[derive(Debug)] |