From ffeac54950dc476bc044632ed48f26336353d022 Mon Sep 17 00:00:00 2001 From: six-shot Date: Wed, 20 Mar 2024 13:27:59 +0000 Subject: [PATCH] fix clippy problems --- components/script/task_queue.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/task_queue.rs b/components/script/task_queue.rs index 4b489b7eec496..1fac477865ed9 100644 --- a/components/script/task_queue.rs +++ b/components/script/task_queue.rs @@ -237,7 +237,7 @@ impl TaskQueue { // Reduce the length of throttles, // but don't add the task to "msg_queue", // and neither increment "taken_task_counter". - throttled_length - =1; + throttled_length -= 1; continue; } }