Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2024-06-18 04:48:50 +00:00 committed by GitHub
parent f96b257f1c
commit 88db6ef8e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -101,7 +101,10 @@ impl process::ProcessState {
) -> Result<(wit::Address, wit::Message), (wit::SendError, Option<wit::Context>)> {
let (mut km, context) = match incoming {
Ok(mut km) => match km.message {
t::Message::Request(t::Request { ref expects_response, .. }) => {
t::Message::Request(t::Request {
ref expects_response,
..
}) => {
self.last_blob = km.lazy_load_blob;
km.lazy_load_blob = None;
if expects_response.is_some() || km.rsvp.is_some() {

View File

@ -101,7 +101,10 @@ impl process::ProcessState {
) -> Result<(wit::Address, wit::Message), (wit::SendError, Option<wit::Context>)> {
let (mut km, context) = match incoming {
Ok(mut km) => match km.message {
t::Message::Request(t::Request { ref expects_response, .. }) => {
t::Message::Request(t::Request {
ref expects_response,
..
}) => {
self.last_blob = km.lazy_load_blob;
km.lazy_load_blob = None;
if expects_response.is_some() || km.rsvp.is_some() {