mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
time: remove outdated todo comment (#2848)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user