mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: net_util: 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:
committed by
Rob Bradford
parent
72c8178335
commit
67896333e3
+1
-1
@@ -40,7 +40,7 @@ pub use tap::{Error as TapError, Tap};
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("Failed to create a socket: {0}")]
|
||||
#[error("Failed to create a socket")]
|
||||
CreateSocket(#[source] IoError),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user