Skip to content

Commit

Permalink
fix: fix compiler warning about derive helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Apr 26, 2024
1 parent 537efbe commit 59f53c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filterable-enum-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ pub fn derive_filterable_enum(ts: TokenStream) -> TokenStream {

TokenStream::from(quote::quote! {
// Create EnumKind
#(#kind_extra_attrs)*
#[#filterable_enum::enumflags2::bitflags]
#[repr(#repr)]
#[derive(Debug, PartialEq, Clone, Copy, #(#kind_extra_derive,)*)]
#(#kind_extra_attrs)*
#vis enum #ident_kind {
#(#kinds,)*
}
Expand Down

0 comments on commit 59f53c5

Please sign in to comment.