Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cjwcommuny committed Oct 16, 2022
1 parent 1a933ae commit 04a615d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/runtime/time/entry.rs
Expand Up @@ -176,7 +176,7 @@ impl StateCell {
// 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"
"mark_pending called when the timer entry is in an invalid state"
);

if cur_state > not_after {
Expand Down

0 comments on commit 04a615d

Please sign in to comment.