chore: enable a pedantic clippy on the diffing algorithm

This commit is contained in:
Jonathan Kelley committed 2022-01-31 12:49:21 -05:00
1 parent 06418f73db
commit c4e6496d9d
2 files changed
+56 -81

No files matched your search

-7
View File
@@ -147,13 +147,6 @@ impl<'src> VNode<'src> {
}
}
pub(crate) fn children(&self) -> &[VNode<'src>] {
match &self {
VNode::Fragment(f) => f.children,
_ => &[],
}
}
// Create an "owned" version of the vnode.
pub fn decouple(&self) -> VNode<'src> {
match *self {