Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cjwcommuny committed Oct 11, 2022
1 parent 3235ccd commit dbc85c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tokio/src/runtime/time/entry.rs
Expand Up @@ -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);
Expand Down

0 comments on commit dbc85c4

Please sign in to comment.