From 88a43c8048606b3b4017856c35e1d5837495d285 Mon Sep 17 00:00:00 2001 From: Michael Watzko Date: Sat, 20 Jan 2024 13:55:51 +0100 Subject: [PATCH] Make clippy naming expectations happy --- src/converter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/converter.rs b/src/converter.rs index 2656ac7..a1d04eb 100644 --- a/src/converter.rs +++ b/src/converter.rs @@ -13,7 +13,7 @@ pub enum Error { ProtobufGenerator(asn1rs_model::generate::protobuf::Error), Model(asn1rs_model::parse::Error), Io(std::io::Error), - ResolveError(asn1rs_model::resolve::Error), + ResolveFailure(asn1rs_model::resolve::Error), } #[cfg(feature = "protobuf")] @@ -37,7 +37,7 @@ impl From for Error { impl From for Error { fn from(e: asn1rs_model::resolve::Error) -> Self { - Error::ResolveError(e) + Error::ResolveFailure(e) } }