Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-11-26 03:27:26 +00:00 committed by GitHub
parent b8a9445e44
commit 0ec86568fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,10 +96,7 @@ struct TimerMap {
impl TimerMap {
fn insert(&mut self, pop_time: u64, id: u64, addr: Address) {
self.timers
.entry(pop_time)
.or_default()
.push((id, addr));
self.timers.entry(pop_time).or_default().push((id, addr));
}
fn contains(&mut self, pop_time: u64) -> bool {