From e2002d6ea42f5844a3832ab7f038620ecf977a1c Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Mon, 20 May 2024 13:01:04 -0500 Subject: [PATCH] fix clippy --- examples/rsx_usage.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/rsx_usage.rs b/examples/rsx_usage.rs index 361a3839b..5bf10af69 100644 --- a/examples/rsx_usage.rs +++ b/examples/rsx_usage.rs @@ -294,10 +294,7 @@ fn WithInline(text: String) -> Element { } #[component] -fn Label(text: T) -> Element -where - T: Display, -{ +fn Label(text: T) -> Element { rsx! { p { "{text}" } }