From 6a3446e6edf0221d0df13544b087407abffd0d6f Mon Sep 17 00:00:00 2001 From: One <43485962+c-git@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:52:15 -0400 Subject: [PATCH] chore: address clippy warning clippy::redundant_pattern_matching --- src/wasm/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm/client.rs b/src/wasm/client.rs index f5ce3144c..d6a5c5fc1 100644 --- a/src/wasm/client.rs +++ b/src/wasm/client.rs @@ -400,7 +400,7 @@ impl Config { fn fmt_fields(&self, f: &mut fmt::DebugStruct<'_, '_>) { #[cfg(feature = "cookies")] { - if let Some(_) = self.cookie_store { + if self.cookie_store.is_some() { f.field("cookie_store", &true); } }