Skip to content

Commit

Permalink
fix(clippy): needless-borrow in the peer set
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Feb 4, 2022
1 parent 0d7860a commit b99d195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-network/src/peer_set/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ where
let maybe_peer_list = self
.ready_services
.keys()
.filter(|&addr| !missing_peer_list.contains(&addr))
.filter(|addr| !missing_peer_list.contains(addr))
.copied()
.collect();

Expand Down

0 comments on commit b99d195

Please sign in to comment.