Skip to content

Commit

Permalink
chore: address clippy warning
Browse files Browse the repository at this point in the history
clippy::redundant_pattern_matching
  • Loading branch information
c-git committed Aug 20, 2024
1 parent cac0c42 commit 6a3446e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 6a3446e

Please sign in to comment.