Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-10-08 05:15:33 +00:00 committed by GitHub
parent 96c36ac62c
commit 2352a068f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};