Fix bound

This commit is contained in:
Laurenz 2021-07-09 10:27:45 +02:00
parent 0c74290519
commit 4fb58acafd

View File

@ -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) }
}