misc: virtio-devices: streamline error Display::fmt()

The changes were mostly automatically applied using the Python
script mentioned in the first commit of this series.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-05-21 12:31:22 +02:00
committed by Rob Bradford
parent 3541cebbf1
commit 8e2973fe7c
16 changed files with 142 additions and 142 deletions

View File

@@ -310,7 +310,7 @@ impl VirtioPciDeviceActivator {
#[derive(Error, Debug)]
pub enum VirtioPciDeviceError {
#[error("Failed creating VirtioPciDevice: {0}")]
#[error("Failed creating VirtioPciDevice")]
CreateVirtioPciDevice(#[source] anyhow::Error),
}
pub type Result<T> = std::result::Result<T, VirtioPciDeviceError>;