chore: enable a pedantic clippy on the diffing algorithm
This commit is contained in:
1 parent
06418f73db
commit
c4e6496d9d
2 files changed
+56
-81
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user