From 7a3f83e264a53ddf2516924ac7ae2e972d954d33 Mon Sep 17 00:00:00 2001 From: wathenjiang Date: Tue, 16 Jul 2024 21:06:05 +0800 Subject: [PATCH] fmt --- tokio/src/runtime/time/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/runtime/time/mod.rs b/tokio/src/runtime/time/mod.rs index 9e2def1e4f8..c01a5f2b25e 100644 --- a/tokio/src/runtime/time/mod.rs +++ b/tokio/src/runtime/time/mod.rs @@ -204,10 +204,10 @@ impl Driver { .inner .next_wake .store(next_wake_time(expiration_time)); - + // Safety: After updating the `next_wake`, we drop all the locks. drop(locks); - + match expiration_time { Some(when) => { let now = handle.time_source.now(rt_handle.clock());