mirror of
https://github.com/typst/typst
synced 2025-06-28 08:12:53 +08:00
Fix bound
This commit is contained in:
parent
0c74290519
commit
4fb58acafd
@ -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) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user