From 5e4b78f353c245afde7bb3a3c67afe60a9630ef1 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sun, 1 Feb 2026 10:23:34 +0100 Subject: [PATCH] Removed excess clone in Card component --- examples/hello_world.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/hello_world.rs b/examples/hello_world.rs index 78cfc92..512e8e7 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -15,8 +15,6 @@ fn App(cx: &Arc) -> View { #[component] fn Card(cx: &Arc, content: String) -> View { - let content = content.clone(); - rsx! { "----\n{content}\n----" }