Skip to content

Commit 51a814f

Browse files
committed
error: Rename enum variants to avoid clippy warning
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent d75475e commit 51a814f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

keylime-agent/src/error.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ pub(crate) enum Error {
4646
#[error("IO error: {0}")]
4747
Io(#[from] std::io::Error),
4848
#[error("Failed to parse IP")]
49-
IpParserError(#[from] keylime::ip_parser::IpParsingError),
49+
IpParser(#[from] keylime::ip_parser::IpParsingError),
5050
#[error("Failed to parse hostname")]
51-
HostnameParserError(
52-
#[from] keylime::hostname_parser::HostnameParsingError,
53-
),
51+
HostnameParser(#[from] keylime::hostname_parser::HostnameParsingError),
5452
#[error("Text decoding error: {0}")]
5553
Utf8(#[from] std::string::FromUtf8Error),
5654
#[error("Secure Mount error: {0})")]

0 commit comments

Comments
 (0)