Remove unnecessary self:: from error import

`Error` is in this file, no need for `self::Error`.
This commit is contained in:
Tobin C. Harding 2023-08-04 10:11:26 +10:00
parent b2e485ed51
commit 9d7791fcd6
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ impl fmt::Display for Error {
#[cfg(feature = "std")] #[cfg(feature = "std")]
impl std::error::Error for Error { impl std::error::Error for Error {
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
use self::Error::*; use Error::*;
match self { match self {
Base58(e) => Some(e), Base58(e) => Some(e),