From ddf701607609b3bfcc505976fb057ae18a27e1be Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Fri, 22 Mar 2024 08:19:58 -0400 Subject: [PATCH] fix: Display for Error shouldn't include source --- src/error.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/error.rs b/src/error.rs index c558ebbac9..12fca8b9c4 100644 --- a/src/error.rs +++ b/src/error.rs @@ -206,10 +206,6 @@ impl fmt::Display for Error { write!(f, " for url ({url})")?; } - if let Some(e) = &self.inner.source { - write!(f, ": {e}")?; - } - Ok(()) } }