diff --git a/src/lib.rs b/src/lib.rs index 75c277f..34d2190 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -120,7 +120,7 @@ impl core::fmt::Display for CollectionAllocErr { /// niche-optimization can be performed and the type is covariant /// with respect to `T`. #[repr(C)] -pub union RawSmallVec { +union RawSmallVec { inline: ManuallyDrop>, heap: (NonNull, usize), }