diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 090ab7d..1b9c8d0 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -338,11 +338,7 @@ fn generate_impl_block_header( quote! { #bounds } }, |bounds| { - if !bounds.is_empty() { - quote! { where #(#bounds),* } - } else { - quote!() - } + quote! { where #(#bounds),* } }, );