change debug display order

This commit is contained in:
soruh 2023-03-28 14:07:25 +02:00
parent f22cafa96e
commit 946bb37096

View File

@ -181,10 +181,10 @@ impl Debug for PortHandler {
let state = &self.port_state[&port];
State {
name: self.names.get(&number).map_or("?", |x| x.as_str()),
state: state.status,
number,
port,
name: self.names.get(&number).map_or("?", |x| x.as_str()),
last_change: DisplayAsDebug(format_instant(instant_from_timestamp(
state.last_change,
))),