transparent smallbox

This commit is contained in:
Janis 2025-02-21 12:29:35 +01:00
parent 5881f8e26a
commit 52fea2e306

View file

@ -188,6 +188,7 @@ mod job {
use super::util::TaggedAtomicPtr;
#[derive(Debug)]
#[repr(transparent)]
pub struct SmallBox<T>(pub MaybeUninit<Box<T>>);
impl<T: Display> Display for SmallBox<T> {