mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-28 21:18:11 -05:00
cargo fmt
...necessary to pass CI since changes to stable Rust's formatting.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user