fix some clippy lints

This commit is contained in:
Evan Almloff committed 2023-09-27 10:13:45 -05:00
1 parent 76a050314a
commit ee25c03e74
9 files changed
+25 -14

No files matched your search

+3 -1
View File
@@ -894,12 +894,14 @@ Finally, call `.build()` to create the instance of `{name}`.
path.span(),
);
quote! {
#[allow(dead_code, non_camel_case_types, missing_docs)]
impl #impl_generics dioxus_elements::extensions::#marker_name < #extend_lifetime > for #builder_name < #( #ty_generics ),* > #where_clause {}
}
});
Ok(quote! {
impl #impl_generics ::dioxus::prelude::HasAttributesBox<#extend_lifetime> for #builder_name < #( #ty_generics ),* > #where_clause {
#[allow(dead_code, non_camel_case_types, missing_docs)]
impl #impl_generics ::dioxus::prelude::HasAttributes<#extend_lifetime> for #builder_name < #( #ty_generics ),* > #where_clause {
fn push_attribute(
mut self,
name: &#extend_lifetime str,