Skip to content

Commit 2cc92e6

Browse files
authored
Update mod.rs
1 parent 9cf1a48 commit 2cc92e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/core/src/mem/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,9 @@ impl<T> SizedTypeProperties for T {}
13851385
/// B { one: u8, two: u16 },
13861386
/// }
13871387
///
1388+
/// # #[cfg(not(bootstrap))]
13881389
/// assert_eq!(mem::offset_of!(Enum, A.0), 1);
1390+
/// # #[cfg(not(bootstrap))]
13891391
/// assert_eq!(mem::offset_of!(Enum, B.two), 2);
13901392
///
13911393
/// # #[cfg(not(bootstrap))]

0 commit comments

Comments
 (0)