Update mod.rs
This commit is contained in:
parent
9cf1a48599
commit
2cc92e666f
1 changed files with 2 additions and 0 deletions
|
@ -1385,7 +1385,9 @@ impl<T> SizedTypeProperties for T {}
|
||||||
/// B { one: u8, two: u16 },
|
/// B { one: u8, two: u16 },
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
|
/// # #[cfg(not(bootstrap))]
|
||||||
/// assert_eq!(mem::offset_of!(Enum, A.0), 1);
|
/// assert_eq!(mem::offset_of!(Enum, A.0), 1);
|
||||||
|
/// # #[cfg(not(bootstrap))]
|
||||||
/// assert_eq!(mem::offset_of!(Enum, B.two), 2);
|
/// assert_eq!(mem::offset_of!(Enum, B.two), 2);
|
||||||
///
|
///
|
||||||
/// # #[cfg(not(bootstrap))]
|
/// # #[cfg(not(bootstrap))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue