Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-10-11 11:17:00 +00:00 committed by GitHub
parent 9285e0f2ad
commit b888191fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1316,10 +1316,12 @@ async fn make_process_loop(
// if restart, tell ourselves to init the app again, with same capabilities
t::OnPanic::Restart => {
let (tx, rx) = tokio::sync::oneshot::channel();
let _ = caps_oracle.send(t::CapMessage::GetAll {
on: metadata.our.process.clone(),
responder: tx,
}).await;
let _ = caps_oracle
.send(t::CapMessage::GetAll {
on: metadata.our.process.clone(),
responder: tx,
})
.await;
let initial_capabilities = rx
.await
.unwrap()