Zero-inizialize expires_at

This commit is contained in:
Dániel Buga
2024-12-16 09:15:15 +01:00
parent 4df4ffbbd4
commit a10290b28e

View File

@@ -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),
}
}
}