We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const-mut-ref
1 parent 1c0c6b7 commit 4148b4aCopy full SHA for 4148b4a
bitflags-attr-macros/src/typed.rs
@@ -432,7 +432,7 @@ impl ToTokens for Bitflag {
432
None => quote! {#[repr(transparent)]},
433
};
434
435
- let const_mut = cfg!(feature = "const-mut-ref").then(|| quote!(mut));
+ let const_mut = cfg!(feature = "const-mut-ref").then(|| quote!(const));
436
437
let debug_impl = impl_flags.contains(ImplFlags::DEBUG).then(|| {
438
quote! {
0 commit comments