From 31936bee989ad62e10cc73d069786068615b423f Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 21 Aug 2024 15:30:15 +0800 Subject: [PATCH] cargo fmt --- src/runtime/src/mgmt.rs | 11 +++++++++-- src/satman/src/main.rs | 8 ++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/runtime/src/mgmt.rs b/src/runtime/src/mgmt.rs index 32b580e..5c7effb 100644 --- a/src/runtime/src/mgmt.rs +++ b/src/runtime/src/mgmt.rs @@ -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 + ) } }?; } diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index f8f4437..9f6b3db 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -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,