ソースを参照

make clippy happy

Jonathan Kelley 2 年 前
コミット
c6d4398e36
1 ファイル変更2 行追加2 行削除
  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{}