Explorar o código

make clippy happy

Jonathan Kelley %!s(int64=2) %!d(string=hai) anos
pai
achega
c6d4398e36
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/drops.rs

+ 2 - 2
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{}