Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborschneider committed Sep 26, 2024
1 parent ede06ee commit d780bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpsim/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ impl<P: Prefix, Q: EventQueue<P>, Ospf: OspfImpl> NetworkBuilder<P, Q, Ospf>
// build a local LUT
let lut: HashMap<RouterId, GaoRexfordPeerType> = self
.external_indices()
.map(|ext| (ext, peer_type(ext, &self, &mut rng, a.clone())))
.map(|ext| (ext, peer_type(ext, self, &mut rng, a.clone())))
.collect();

_build_gao_rexford(self, lut)
Expand Down

0 comments on commit d780bda

Please sign in to comment.