mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-09-20 14:21:58 +00:00
remove IS_STATIC
This commit is contained in:
parent
ce902e4586
commit
c59926cb1f
1 changed files with 1 additions and 7 deletions
|
@ -615,15 +615,10 @@ Finally, call `.build()` to create the instance of `{name}`.
|
|||
}
|
||||
|
||||
let can_memoize = match are_there_generics {
|
||||
true => quote! { false },
|
||||
true => quote! { false },
|
||||
false => quote! { self == other },
|
||||
};
|
||||
|
||||
let is_static = match are_there_generics {
|
||||
true => quote! { false },
|
||||
false => quote! { true },
|
||||
};
|
||||
|
||||
Ok(quote! {
|
||||
impl #impl_generics #name #ty_generics #where_clause {
|
||||
#[doc = #builder_method_doc]
|
||||
|
@ -657,7 +652,6 @@ Finally, call `.build()` to create the instance of `{name}`.
|
|||
#b_generics_where_extras_predicates
|
||||
{
|
||||
type Builder = #builder_name #generics_with_empty;
|
||||
const IS_STATIC: bool = #is_static;
|
||||
fn builder() -> Self::Builder {
|
||||
#name::builder()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue