From 2352a068f8cca59c8ba892c19cdb66ef3a3fd7a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 05:15:33 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/kernel/mod.rs | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/src/kernel/mod.rs b/src/kernel/mod.rs index 994a77d8..dca65217 100644 --- a/src/kernel/mod.rs +++ b/src/kernel/mod.rs @@ -1326,27 +1326,30 @@ async fn handle_kernel_request( .await .unwrap(); // fire an error back - send_to_loop.send(t::KernelMessage { - id: km.id, - source: t::Address { - node: our_name.clone(), - process: KERNEL_PROCESS_ID.clone(), - }, - target: km.source, - rsvp: None, - message: t::Message::Response(( - t::Response { - ipc: Some( - serde_json::to_string(&t::KernelResponse::StartProcessError) - .unwrap(), - ), - metadata: None, + send_to_loop + .send(t::KernelMessage { + id: km.id, + source: t::Address { + node: our_name.clone(), + process: KERNEL_PROCESS_ID.clone(), }, - None, - )), - payload: None, - signed_capabilities: None, - }).await.unwrap(); + target: km.source, + rsvp: None, + message: t::Message::Response(( + t::Response { + ipc: Some( + serde_json::to_string(&t::KernelResponse::StartProcessError) + .unwrap(), + ), + metadata: None, + }, + None, + )), + payload: None, + signed_capabilities: None, + }) + .await + .unwrap(); return; };