mirror of
https://github.com/uqbar-dao/nectar.git
synced 2025-01-02 13:36:47 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
114def40fc
commit
4546ac9beb
15
src/vfs.rs
15
src/vfs.rs
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user