Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Sep 9, 2021
1 parent 0f76b3b commit a6e3ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zenoh/src/net/routing/network.rs
Expand Up @@ -277,6 +277,7 @@ impl Network {
};

// register psid<->pid mappings & apply mapping to nodes
#[allow(clippy::needless_collect)] // need to release borrow on self
let link_states = link_states
.into_iter()
.filter_map(|link_state| {
Expand Down

0 comments on commit a6e3ea0

Please sign in to comment.