Skip to content

Commit

Permalink
Add bytemuck attribute to NoUninit derive (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle authored Aug 2, 2024
1 parent e1baf85 commit 243302d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ pub fn derive_zeroable(
/// - The enum must be explicit `#[repr(Int)]`, `#[repr(C)]`, or both
/// - All variants must be fieldless
/// - The enum must contain no generic parameters
#[proc_macro_derive(NoUninit)]
#[proc_macro_derive(NoUninit, attributes(bytemuck))]
pub fn derive_no_uninit(
input: proc_macro::TokenStream,
) -> proc_macro::TokenStream {
Expand Down

0 comments on commit 243302d

Please sign in to comment.