diff options
| -rw-r--r-- | src/layout/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index bf6c8092..a07ccdc5 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<T>(node: T) -> Self where - T: Layout + Debug + Clone + PartialEq + 'static, + T: Layout + Debug + Clone + Eq + PartialEq + 'static, { Self { node: Box::new(node) } } |
