From 6a51750fc962601088ed40bdbe49e9fda17d9e37 Mon Sep 17 00:00:00 2001 From: Jannes Brands Date: Thu, 22 Feb 2024 22:58:45 +0100 Subject: [PATCH] remove confusing clippy hint --- examples/forward.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/forward.rs b/examples/forward.rs index 0e9b876..d2bf09e 100644 --- a/examples/forward.rs +++ b/examples/forward.rs @@ -55,8 +55,7 @@ fn main() { #[cfg(target_os = "linux")] |opts: Options| { - let (mut input, mut output) = - open_can_interface(&opts.input_interface, &opts.output_interface); + let (input, output) = open_can_interface(&opts.input_interface, &opts.output_interface); input .set_nonblocking(true) .expect("Could not set input bus to non-blocking!");