T in For component does *not* need to be Eq

This commit is contained in:
Greg Johnston 2022-11-24 06:41:15 -05:00
parent 45e2c09e53
commit 835c465c34

View file

@ -15,7 +15,7 @@ where
G: Fn(Scope, &T) -> Element,
I: Fn(&T) -> K,
K: Eq + Hash,
T: Eq + 'static,
T: 'static,
{
/// Items over which the component should iterate.
pub each: E,