diff --git a/tokio/src/runtime/time/entry.rs b/tokio/src/runtime/time/entry.rs index 96284122e2c..fac1c06f969 100644 --- a/tokio/src/runtime/time/entry.rs +++ b/tokio/src/runtime/time/entry.rs @@ -174,7 +174,10 @@ impl StateCell { loop { // improve the error message for things like // https://github.com/tokio-rs/tokio/issues/3675 - assert!(cur_state < STATE_MIN_VALUE, "mark_pending called when the timer entry is deregistered or in pending fire"); + assert!( + cur_state < STATE_MIN_VALUE, + "mark_pending called when the timer entry is deregistered or in pending fire" + ); if cur_state > not_after { break Err(cur_state);