cargo fmt

This commit is contained in:
occheung 2024-08-21 15:30:15 +08:00
parent 60c347693f
commit 31936bee98
2 changed files with 15 additions and 4 deletions

View File

@ -69,7 +69,7 @@ pub enum Request {
ConfigRemove = 14,
ConfigErase = 15,
DebugAllocator = 8
DebugAllocator = 8,
}
#[repr(i8)]
@ -824,7 +824,14 @@ async fn handle_connection(
process!(stream, _timer, _aux_mutex, _routing_table, _destination, config_erase)
}
Request::DebugAllocator => {
process!(stream, _timer, _aux_mutex, _routing_table, _destination, debug_allocator)
process!(
stream,
_timer,
_aux_mutex,
_routing_table,
_destination,
debug_allocator
)
}
}?;
}

View File

@ -1264,7 +1264,9 @@ fn process_aux_packet(
}
}
}
drtioaux::Packet::CoreMgmtConfigEraseRequest { destination: _destination } => {
drtioaux::Packet::CoreMgmtConfigEraseRequest {
destination: _destination,
} => {
forward!(
router,
_routing_table,
@ -1299,7 +1301,9 @@ fn process_aux_packet(
slcr::reboot();
Ok(())
}
drtioaux::Packet::CoreMgmtAllocatorDebugRequest { destination: _destination } => {
drtioaux::Packet::CoreMgmtAllocatorDebugRequest {
destination: _destination,
} => {
forward!(
router,
_routing_table,