Skip to content

Commit

Permalink
We migrated to Rust 2021 edition in Jan 2022 with #3332
Browse files Browse the repository at this point in the history
  • Loading branch information
mpguerra committed May 19, 2023
1 parent 9b67e09 commit 8ba4367
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zebra-network/src/peer_set/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ where
/// Checks if the minimum peer version has changed, and disconnects from outdated peers.
fn disconnect_from_outdated_peers(&mut self) {
if let Some(minimum_version) = self.minimum_peer_version.changed() {
// TODO: Remove when the code base migrates to Rust 2021 edition (#2709).
let preselected_p2c_peer = &mut self.preselected_p2c_peer;

self.ready_services.retain(|address, peer| {
Expand Down

0 comments on commit 8ba4367

Please sign in to comment.