From ee4b59b575364eb1560cd8b944de0b5b4269853b Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 14 Jun 2025 16:07:26 +0800 Subject: [PATCH] .. --- yazi-scheduler/src/hooks.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/yazi-scheduler/src/hooks.rs b/yazi-scheduler/src/hooks.rs index 18e13f0f..9ed7cf2f 100644 --- a/yazi-scheduler/src/hooks.rs +++ b/yazi-scheduler/src/hooks.rs @@ -9,6 +9,7 @@ pub(super) struct Hooks { } impl Hooks { + #[allow(dead_code)] pub(super) fn add_sync(&mut self, id: Id, f: F) where F: FnOnce(bool) + Send + Sync + 'static,