From 8681239ef5e8e366262544181c07e88e7fbb84a2 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Fri, 5 Apr 2024 13:03:18 +0200 Subject: [PATCH] fix clippy --- src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.rs b/src/input.rs index 05484d0..c8bb023 100644 --- a/src/input.rs +++ b/src/input.rs @@ -524,7 +524,7 @@ pub async fn update_button_state_task( if input_consistency_mode == InputConsistencyMode::SuperHack { if gcc_state != previous_state { gcc_publisher.publish_immediate(gcc_state); - previous_state = gcc_state.clone(); + previous_state = gcc_state; } } else { gcc_publisher.publish_immediate(gcc_state);