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 Nov 13, 2024
1 parent 260418a commit 2b7fe70
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 2b7fe70

Please sign in to comment.