From fcf86b3f8b01e3796fe03b6f3086788e95e4d227 Mon Sep 17 00:00:00 2001 From: Delweng Date: Tue, 3 Mar 2026 18:48:24 +0800 Subject: [PATCH] fix(tasks): make clippy happy (#22730) Signed-off-by: Delweng Co-authored-by: Matthias Seitz --- crates/tasks/src/utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tasks/src/utils.rs b/crates/tasks/src/utils.rs index 7a7917bb7d..bcb734f01c 100644 --- a/crates/tasks/src/utils.rs +++ b/crates/tasks/src/utils.rs @@ -32,6 +32,7 @@ pub fn increase_thread_priority() { /// Should be called once after tracing is initialized. /// /// No-op on non-Linux platforms. +#[allow(clippy::missing_const_for_fn)] pub fn deprioritize_background_threads() { #[cfg(target_os = "linux")] _deprioritize_background_threads();