Skip to content

Commit

Permalink
Fix Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sophokles73 committed Jan 16, 2025
1 parent 10b564c commit 971c860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/local_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl RegisteredListener {
}

if let Some(pattern) = &self.sink_filter {
sink.map_or(false, |candidate_sink| pattern.matches(candidate_sink))
sink.is_some_and(|candidate_sink| pattern.matches(candidate_sink))
} else {
sink.is_none()
}
Expand Down

0 comments on commit 971c860

Please sign in to comment.