change debug display order
This commit is contained in:
parent
f22cafa96e
commit
946bb37096
@ -181,10 +181,10 @@ impl Debug for PortHandler {
|
|||||||
let state = &self.port_state[&port];
|
let state = &self.port_state[&port];
|
||||||
|
|
||||||
State {
|
State {
|
||||||
name: self.names.get(&number).map_or("?", |x| x.as_str()),
|
|
||||||
state: state.status,
|
state: state.status,
|
||||||
number,
|
number,
|
||||||
port,
|
port,
|
||||||
|
name: self.names.get(&number).map_or("?", |x| x.as_str()),
|
||||||
last_change: DisplayAsDebug(format_instant(instant_from_timestamp(
|
last_change: DisplayAsDebug(format_instant(instant_from_timestamp(
|
||||||
state.last_change,
|
state.last_change,
|
||||||
))),
|
))),
|
||||||
|
Loading…
Reference in New Issue
Block a user