From 9d7791fcd649f67a110c8c4d6abb58c8f4ba12fc Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 4 Aug 2023 10:11:26 +1000 Subject: [PATCH] Remove unnecessary self:: from error import `Error` is in this file, no need for `self::Error`. --- bitcoin/src/address/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/address/error.rs b/bitcoin/src/address/error.rs index a779c767..c82189a9 100644 --- a/bitcoin/src/address/error.rs +++ b/bitcoin/src/address/error.rs @@ -86,7 +86,7 @@ impl fmt::Display for Error { #[cfg(feature = "std")] impl std::error::Error for Error { fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { - use self::Error::*; + use Error::*; match self { Base58(e) => Some(e),