From 6fa6e7c1e5dccc46ce98d2577a93536b37818fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Fri, 18 Oct 2024 17:43:39 +0800 Subject: [PATCH] cargo fmt --- src/runtime/src/comms.rs | 2 +- src/runtime/src/subkernel.rs | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/runtime/src/comms.rs b/src/runtime/src/comms.rs index 8aa0ea9..53ce5b9 100644 --- a/src/runtime/src/comms.rs +++ b/src/runtime/src/comms.rs @@ -405,7 +405,7 @@ async fn handle_run_kernel( id, destination: _, run, - timestamp + timestamp, } => { let succeeded = match subkernel::load(aux_mutex, routing_table, timer, id, run, timestamp).await { Ok(()) => true, diff --git a/src/runtime/src/subkernel.rs b/src/runtime/src/subkernel.rs index 1b47c36..d188d2c 100644 --- a/src/runtime/src/subkernel.rs +++ b/src/runtime/src/subkernel.rs @@ -106,7 +106,16 @@ pub async fn load( if subkernel.state != SubkernelState::Uploaded { return Err(Error::IncorrectState); } - drtio::subkernel_load(aux_mutex, routing_table, timer, id, subkernel.destination, run, timestamp).await?; + drtio::subkernel_load( + aux_mutex, + routing_table, + timer, + id, + subkernel.destination, + run, + timestamp, + ) + .await?; if run { subkernel.state = SubkernelState::Running; }