Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-10-16 21:39:31 +00:00 committed by GitHub
parent 114def40fc
commit 4546ac9beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -639,7 +639,14 @@ async fn handle_request(
process: source.process.clone(),
},
rsvp,
message: Message::Response((Response { inherit: false, ipc, metadata, }, None)),
message: Message::Response((
Response {
inherit: false,
ipc,
metadata,
},
None,
)),
payload: match bytes {
Some(bytes) => Some(Payload {
mime: Some("application/octet-stream".into()),
@ -987,8 +994,7 @@ async fn match_request(
}
};
let KernelMessage { message, .. } = write_response;
let Message::Response((Response { ipc, .. }, None)) = message
else {
let Message::Response((Response { ipc, .. }, None)) = message else {
panic!("")
};
let Some(ipc) = ipc else {
@ -1420,8 +1426,7 @@ async fn match_request(
let KernelMessage {
message, payload, ..
} = read_response;
let Message::Response((Response { ipc, .. }, None)) = message
else {
let Message::Response((Response { ipc, .. }, None)) = message else {
panic!("");
};
let Some(ipc) = ipc else {