Zero-inizialize expires_at
This commit is contained in:
parent
4df4ffbbd4
commit
a10290b28e
@ -22,7 +22,7 @@ impl TimerQueueItem {
|
||||
pub(crate) const fn new() -> Self {
|
||||
Self {
|
||||
next: Cell::new(None),
|
||||
expires_at: Cell::new(u64::MAX),
|
||||
expires_at: Cell::new(0),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user