*: Apply clippy suggestions and enable clippy on CI (#1850)

* *: Apply clippy suggestions

* .github: Add clippy check

* protocols/kad/record: Implement custom PartialEq for ProviderRecord
This commit is contained in:
Max Inden
2020-11-24 15:59:22 +01:00
committed by GitHub
parent 5e21806a38
commit e3af8b7d03
22 changed files with 108 additions and 111 deletions

View File

@@ -551,7 +551,7 @@ impl MdnsPeer {
MdnsPeer {
addrs,
peer_id: my_peer_id.clone(),
peer_id: my_peer_id,
ttl,
}
}