diff --git a/core/src/renderer/layout/layout_object.rs b/core/src/renderer/layout/layout_object.rs index 9259847..6329504 100644 --- a/core/src/renderer/layout/layout_object.rs +++ b/core/src/renderer/layout/layout_object.rs @@ -183,7 +183,7 @@ impl LayoutObject { } pub fn node_kind(&self) -> NodeKind { - self.node.borrow().kind().clone() + self.node.borrow().kind() } pub fn set_first_child(&mut self, first_child: Option>>) {