rng: run clippy --fix
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
909de1ae7c
commit
e94925b7dd
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ pub(crate) enum VuRngError {
|
|||
|
||||
impl convert::From<VuRngError> for io::Error {
|
||||
fn from(e: VuRngError) -> Self {
|
||||
io::Error::new(io::ErrorKind::Other, e)
|
||||
io::Error::other(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -277,7 +277,7 @@ impl<T: 'static + ReadVolatile + Sync + Send> VhostUserBackendMut for VuRngBacke
|
|||
}
|
||||
|
||||
_ => {
|
||||
warn!("unhandled device_event: {}", device_event);
|
||||
warn!("unhandled device_event: {device_event}");
|
||||
return Err(VuRngError::HandleEventUnknownEvent.into());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue