diff --git a/src/layout/mod.rs b/src/layout/mod.rs index bf6c80925..a07ccdc5d 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -114,7 +114,7 @@ impl AnyNode { #[cfg(not(feature = "layout-cache"))] pub fn new(node: T) -> Self where - T: Layout + Debug + Clone + PartialEq + 'static, + T: Layout + Debug + Clone + Eq + PartialEq + 'static, { Self { node: Box::new(node) } }