mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-28 09:11:34 +00:00
Fix some rustc/clippy warnings. (#895)
This commit is contained in:
@ -112,9 +112,9 @@ impl KadPeer {
|
||||
let connection_ty = peer.get_connection().into();
|
||||
|
||||
Ok(KadPeer {
|
||||
node_id: node_id,
|
||||
node_id,
|
||||
multiaddrs: addrs,
|
||||
connection_ty: connection_ty,
|
||||
connection_ty
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user