Zero-inizialize expires_at

This commit is contained in:
Dániel Buga 2024-12-16 09:15:15 +01:00
parent 4df4ffbbd4
commit a10290b28e
No known key found for this signature in database

View File

@ -22,7 +22,7 @@ impl TimerQueueItem {
pub(crate) const fn new() -> Self { pub(crate) const fn new() -> Self {
Self { Self {
next: Cell::new(None), next: Cell::new(None),
expires_at: Cell::new(u64::MAX), expires_at: Cell::new(0),
} }
} }
} }