mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
time: remove outdated todo comment (#2848)
This commit is contained in:
parent
207320dbbb
commit
68f7eff39e
@ -159,7 +159,6 @@ impl Interval {
|
||||
/// // approximately 20ms have elapsed.
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(clippy::should_implement_trait)] // TODO: rename (tokio-rs/tokio#1261)
|
||||
pub async fn tick(&mut self) -> Instant {
|
||||
poll_fn(|cx| self.poll_tick(cx)).await
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user