fix(tasks): make clippy happy (#22730)

Signed-off-by: Delweng <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Delweng
2026-03-03 18:48:24 +08:00
committed by GitHub
parent b2eb061fe2
commit fcf86b3f8b

View File

@@ -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();