Skip to content

Commit

Permalink
Mark zerocopy-derive utility macros as doc(hidden) (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlf authored Nov 10, 2022
1 parent 3f178fb commit 140b89c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/derive_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ macro_rules! struct_has_padding {
/// representations (such as `repr(C)`) can use this macro to check for padding.
/// Note that while this may yield some consistent value for some `repr(Rust)`
/// unions, it is not guaranteed across platforms or compilations.
#[doc(hidden)] // `#[macro_export]` bypasses this module's `#[doc(hidden)]`.
#[macro_export]
macro_rules! union_has_padding {
($t:ty, $($ts:ty),*) => {
Expand Down

0 comments on commit 140b89c

Please sign in to comment.