From e6cdd79f71da395d5a7622920392ac371dafe242 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Mon, 20 Jul 2026 23:44:37 +0200 Subject: [PATCH] =?UTF-8?q?fix(loss-harness):=20drop=20the=20needless=20mu?= =?UTF-8?q?t=20on=20send=5Fwires=20=E2=80=94=20workspace=20clippy=20is=20-?= =?UTF-8?q?D=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slipped through 421e8112: the on-box clippy runs covered punktfunk-core and punktfunk-host but not the tools crates; CI's workspace-wide pass caught it. Co-Authored-By: Claude Fable 5 --- tools/loss-harness/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/loss-harness/src/main.rs b/tools/loss-harness/src/main.rs index a1c43213..6a52d6eb 100644 --- a/tools/loss-harness/src/main.rs +++ b/tools/loss-harness/src/main.rs @@ -46,7 +46,7 @@ fn run( let mut host = Session::new(config(Role::Host, scheme, drop_period), Box::new(h)).unwrap(); let mut client = Session::new(config(Role::Client, scheme, drop_period), Box::new(c)).unwrap(); - let mut send_wires = |host: &mut Session, wires: Vec>| { + let send_wires = |host: &mut Session, wires: Vec>| { let refs: Vec<&[u8]> = wires.iter().map(|w| w.as_slice()).collect(); host.send_sealed(&refs).unwrap(); drop(refs);