diff --git a/vhost_user_block/src/lib.rs b/vhost_user_block/src/lib.rs index 5344e4104..040eb1835 100644 --- a/vhost_user_block/src/lib.rs +++ b/vhost_user_block/src/lib.rs @@ -56,10 +56,10 @@ type VhostUserBackendResult = std::result::Result; #[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")]