mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-30 01:44:58 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
b8a9445e44
commit
0ec86568fe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user