From ebcbb58ef818cf318ad2b3680e57b4605d24234a Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 14 Oct 2024 18:23:58 +0200 Subject: [PATCH] core: Remove debug information from Error --- core/src/io.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/io.rs b/core/src/io.rs index 835887f4..063755f3 100644 --- a/core/src/io.rs +++ b/core/src/io.rs @@ -234,8 +234,8 @@ impl Debug for Error { fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { // add pseudo-field kind to debug output to make errors easier to read f.debug_struct("Error") - .field("code", &self.code) - .field("kind", &self.kind()) + // .field("code", &self.code) + // .field("kind", &self.kind()) .finish() } }