We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10b564c commit 971c860Copy full SHA for 971c860
src/local_transport.rs
@@ -36,7 +36,7 @@ impl RegisteredListener {
36
}
37
38
if let Some(pattern) = &self.sink_filter {
39
- sink.map_or(false, |candidate_sink| pattern.matches(candidate_sink))
+ sink.is_some_and(|candidate_sink| pattern.matches(candidate_sink))
40
} else {
41
sink.is_none()
42
0 commit comments