From 9ce3aadb15c51f3f3207a194dc06cfc0e7149070 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 617b5f7d..4a03d360 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 1b47c361..d188d2c4 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; }