From d780bda5664eaffdfcc00febf69ad5f0d1bce0fd Mon Sep 17 00:00:00 2001 From: Tibor Schneider Date: Thu, 26 Sep 2024 13:52:55 +0200 Subject: [PATCH] Fix clippy warning --- bgpsim/src/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpsim/src/builder.rs b/bgpsim/src/builder.rs index 7633071..cdb6189 100644 --- a/bgpsim/src/builder.rs +++ b/bgpsim/src/builder.rs @@ -819,7 +819,7 @@ impl, Ospf: OspfImpl> NetworkBuilder // build a local LUT let lut: HashMap = 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)