summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-07-09 10:27:45 +0200
committerLaurenz <laurmaedje@gmail.com>2021-07-09 10:27:45 +0200
commit4fb58acafde3ca7020a980bd1e0a3585a47ca4f0 (patch)
treeda06151c90435a9f6d4fec4fad54ca05f3e88f76 /src
parent0c74290519ee999002e9cc99ba3d272d68e1014f (diff)
Fix bound
Diffstat (limited to 'src')
-rw-r--r--src/layout/mod.rs2
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) }
}