Remove unnecessary self:: from error import
`Error` is in this file, no need for `self::Error`.
This commit is contained in:
parent
b2e485ed51
commit
9d7791fcd6
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue