Skip to content

Commit

Permalink
Some improvements of peers_exchange.
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii235 committed Dec 11, 2020
1 parent ad076e1 commit e78ba12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/mm2_libp2p/src/peers_exchange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl PeersExchange {
None => return false,
}

if let Some(_) = components.next() {
if components.next().is_some() {
return false;
}
true
Expand Down

0 comments on commit e78ba12

Please sign in to comment.