From c6d4398e36165943aa1cb8033138bd6d19a92175 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Sun, 15 Jan 2023 10:12:22 -0800 Subject: [PATCH] make clippy happy --- examples/drops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/drops.rs b/examples/drops.rs index bdec61aac..71a791990 100644 --- a/examples/drops.rs +++ b/examples/drops.rs @@ -15,12 +15,12 @@ fn app(cx: Scope) -> Element { render! { (0..count).map(|_| rsx!{ - Comp {} + drop_child {} }) } } -fn Comp(cx: Scope) -> Element { +fn drop_child(cx: Scope) -> Element { cx.use_hook(|| Drops); render! { div{}