Update mod.rs

This commit is contained in:
Joshua Liebow-Feeser 2023-11-02 06:45:32 -07:00 committed by GitHub
parent 9cf1a48599
commit 2cc92e666f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1385,7 +1385,9 @@ impl<T> SizedTypeProperties for T {}
/// B { one: u8, two: u16 },
/// }
///
/// # #[cfg(not(bootstrap))]
/// assert_eq!(mem::offset_of!(Enum, A.0), 1);
/// # #[cfg(not(bootstrap))]
/// assert_eq!(mem::offset_of!(Enum, B.two), 2);
///
/// # #[cfg(not(bootstrap))]