Skip to content

Commit

Permalink
chore: clippy (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir authored Dec 5, 2023
1 parent b7a9c18 commit b675b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc-types/src/eth/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ impl FilteredParams {
}

/// Returns `true` if the bloom matches the topics
pub fn matches_topics(bloom: Bloom, topic_filters: &Vec<BloomFilter>) -> bool {
pub fn matches_topics(bloom: Bloom, topic_filters: &[BloomFilter]) -> bool {
if topic_filters.is_empty() {
return true;
}
Expand Down

0 comments on commit b675b6b

Please sign in to comment.