misc: hypervisor: 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:32:09 +02:00
committed by Rob Bradford
parent 1b91aa8ef3
commit 72c8178335
7 changed files with 127 additions and 127 deletions

View File

@@ -18,11 +18,11 @@ pub enum HypervisorDeviceError {
///
/// Set device attribute error
///
#[error("Failed to set device attribute: {0}")]
#[error("Failed to set device attribute")]
SetDeviceAttribute(#[source] anyhow::Error),
///
/// Get device attribute error
///
#[error("Failed to get device attribute: {0}")]
#[error("Failed to get device attribute")]
GetDeviceAttribute(#[source] anyhow::Error),
}