Skip to content

Commit 4148b4a

Browse files
committed
fix: Fix code produced with const-mut-ref feature
1 parent 1c0c6b7 commit 4148b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitflags-attr-macros/src/typed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ impl ToTokens for Bitflag {
432432
None => quote! {#[repr(transparent)]},
433433
};
434434

435-
let const_mut = cfg!(feature = "const-mut-ref").then(|| quote!(mut));
435+
let const_mut = cfg!(feature = "const-mut-ref").then(|| quote!(const));
436436

437437
let debug_impl = impl_flags.contains(ImplFlags::DEBUG).then(|| {
438438
quote! {

0 commit comments

Comments
 (0)