Skip to content

Commit ca89480

Browse files
committed
Feature gate enums in offset_of
1 parent 7d58eae commit ca89480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/mem/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ impl<T> SizedTypeProperties for T {}
13551355
/// # Examples
13561356
///
13571357
/// ```
1358-
/// #![feature(offset_of)]
1358+
/// #![feature(offset_of, offset_of_enum)]
13591359
///
13601360
/// use std::mem;
13611361
/// #[repr(C)]

0 commit comments

Comments
 (0)