misc: vhost_user_block: 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:
parent
8e2973fe7c
commit
ed63b352d1
1 changed files with 2 additions and 2 deletions
|
|
@ -56,10 +56,10 @@ type VhostUserBackendResult<T> = std::result::Result<T, std::io::Error>;
|
|||
#[derive(Error, Debug)]
|
||||
enum Error {
|
||||
/// Failed to create kill eventfd
|
||||
#[error("Failed to create kill eventfd: {0}")]
|
||||
#[error("Failed to create kill eventfd")]
|
||||
CreateKillEventFd(#[source] io::Error),
|
||||
/// Failed to parse configuration string
|
||||
#[error("Failed to parse configuration string: {0}")]
|
||||
#[error("Failed to parse configuration string")]
|
||||
FailedConfigParse(#[source] OptionParserError),
|
||||
/// Failed to handle event other than input event.
|
||||
#[error("Failed to handle event other than input event")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue