chore: make clippy happy

This commit is contained in:
Jonathan Kelley committed 2022-12-06 17:44:29 -08:00
1 parent 34d9aafe0e
commit 5a0ae67ccb
7 files changed
+29 -21

No files matched your search

+2 -6
View File
@@ -52,12 +52,8 @@ impl<'b> VirtualDom {
self.scope_stack.pop();
}
fn diff_ok_to_err(&mut self, _l: &'b VNode<'b>, _e: &anyhow::Error) {
return;
}
fn diff_err_to_ok(&mut self, _e: &anyhow::Error, _l: &'b VNode<'b>) {
return;
}
fn diff_ok_to_err(&mut self, _l: &'b VNode<'b>, _e: &anyhow::Error) {}
fn diff_err_to_ok(&mut self, _e: &anyhow::Error, _l: &'b VNode<'b>) {}
fn diff_node(&mut self, left_template: &'b VNode<'b>, right_template: &'b VNode<'b>) {
if left_template.template.name != right_template.template.name {