diff --git a/zero-ui-var/src/lib.rs b/zero-ui-var/src/lib.rs index c9f3917f5..ae58f5bbc 100644 --- a/zero-ui-var/src/lib.rs +++ b/zero-ui-var/src/lib.rs @@ -1173,7 +1173,6 @@ pub trait Var: IntoVar + AnyVar + Clone { /// /// [^1]: You can use the [`VarHandle::perm`] to make the stored reference *strong*. fn hook(&self, pos_modify_action: impl Fn(&VarHookArgs) -> bool + Send + Sync + 'static) -> VarHandle { - // !!: TODO, rename after refactor, so we don't miss any .hook. self.hook_any(Box::new(move |a| pos_modify_action(&a.as_strong().unwrap()))) }