mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 17:01:58 +00:00
chore: address latest clippy lints
I ran clippy on the current nightly and fixed issues found by it. Noteworthy are two instances of the [never_loop](https://rust-lang.github.io/rust-clippy/master/index.html#/never_loop) lint. Pull-Request: #4571.
This commit is contained in:
@@ -330,7 +330,7 @@ impl From<Rpc> for proto::RPC {
|
||||
.into_iter()
|
||||
.map(|info| proto::PeerInfo {
|
||||
peer_id: info.peer_id.map(|id| id.to_bytes()),
|
||||
/// TODO, see https://github.com/libp2p/specs/pull/217
|
||||
// TODO, see https://github.com/libp2p/specs/pull/217
|
||||
signed_peer_record: None,
|
||||
})
|
||||
.collect(),
|
||||
|
Reference in New Issue
Block a user