This commit is contained in:
sxyazi 2025-06-14 16:07:26 +08:00
parent 0ea8111168
commit ee4b59b575
No known key found for this signature in database

View file

@ -9,6 +9,7 @@ pub(super) struct Hooks {
}
impl Hooks {
#[allow(dead_code)]
pub(super) fn add_sync<F>(&mut self, id: Id, f: F)
where
F: FnOnce(bool) + Send + Sync + 'static,