From 34bf18178c2790085fe3b22768fad67ccc65abfb Mon Sep 17 00:00:00 2001 From: Georges Palauqui Date: Mon, 7 Oct 2024 16:00:25 +0200 Subject: [PATCH] Rename NetworkError into Network --- stratum-v1/src/client/mod.rs | 10 +++------- stratum-v1/src/error.rs | 8 ++++---- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/stratum-v1/src/client/mod.rs b/stratum-v1/src/client/mod.rs index 43bd163..b9912c2 100644 --- a/stratum-v1/src/client/mod.rs +++ b/stratum-v1/src/client/mod.rs @@ -189,16 +189,12 @@ impl core::error::Error for Error {} +impl core::error::Error for Error {} #[cfg(feature = "core-error")] -impl core::fmt::Display for Error { +impl core::fmt::Display for Error { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { write!(f, "{self:?}") }