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