cargo fmt

...necessary to pass CI since changes to stable Rust's formatting.
This commit is contained in:
Scott Lamb
2023-09-30 16:15:02 -07:00
parent e103a709a0
commit b4eb573ca2
4 changed files with 21 additions and 6 deletions

View File

@@ -759,7 +759,10 @@ impl State {
if let Entry::Occupied(ref e) = e {
let (prev_time, prev_state) = *e.get();
let Some(s) = signals_by_id.get_mut(&signal) else {
bail!(DataLoss, msg("time {time_90k} references invalid signal {signal}"));
bail!(
DataLoss,
msg("time {time_90k} references invalid signal {signal}")
);
};
s.days.adjust(prev_time..time_90k, 0, prev_state);
}