From ea9854d3b2fd5ef50d55faa161566b87b1825ec8 Mon Sep 17 00:00:00 2001 From: "Aode (Lion)" Date: Tue, 21 Sep 2021 14:33:42 -0500 Subject: [PATCH] Remove unhelpful fields from Request debug --- src/requests.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/requests.rs b/src/requests.rs index de7423c..8362ee3 100644 --- a/src/requests.rs +++ b/src/requests.rs @@ -164,12 +164,9 @@ pub(crate) struct Requests { impl std::fmt::Debug for Requests { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.debug_struct("Requests") - .field("client", &"Client") - .field("consecutive_errors", &"AtomicUsize") .field("error_limit", &self.error_limit) .field("key_id", &self.key_id) .field("user_agent", &self.user_agent) - .field("private_key", &"[redacted]") .field("config", &self.config) .field("breakers", &self.breakers) .finish()