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); } }