fix clippy
This commit is contained in:
1 parent
dc5a02c563
commit
e2002d6ea4
1 file changed
+1
-4
@@ -294,10 +294,7 @@ fn WithInline(text: String) -> Element {
|
||||
}
|
||||
|
||||
#[component]
|
||||
fn Label<T: Clone + PartialEq + 'static>(text: T) -> Element
|
||||
where
|
||||
T: Display,
|
||||
{
|
||||
fn Label<T: Clone + PartialEq + Display + 'static>(text: T) -> Element {
|
||||
rsx! {
|
||||
p { "{text}" }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user