rustfmt.
This commit is contained in:
parent
2d980068c0
commit
0032f8a2ec
@ -35,9 +35,9 @@ macro_rules! ioctl {
|
|||||||
};
|
};
|
||||||
$self.ioctl(&mut msg).await?;
|
$self.ioctl(&mut msg).await?;
|
||||||
let Some(proto::CtrlMsgPayload::$resp_variant($resp)) = msg.payload else {
|
let Some(proto::CtrlMsgPayload::$resp_variant($resp)) = msg.payload else {
|
||||||
warn!("unexpected response variant");
|
warn!("unexpected response variant");
|
||||||
return Err(Error::Internal);
|
return Err(Error::Internal);
|
||||||
};
|
};
|
||||||
if $resp.resp != 0 {
|
if $resp.resp != 0 {
|
||||||
return Err(Error::Failed($resp.resp));
|
return Err(Error::Failed($resp.resp));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user