File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -709,8 +709,8 @@ const ANY_OPTIONAL_FEATURES_MASK: u8 = 0b10_10_10_10;
709
709
// space-wise, but we only get the remaining 2 usizes in length available for our own stuff (as any
710
710
// other value is interpreted as the `Heap` variant).
711
711
//
712
- // Thus, as long as we never use more than 15 bytes for our Held variant `FeatureFlags` is the same
713
- // length as a `Vec` in memory.
712
+ // Thus, as long as we never use more than 16 bytes ( 15 bytes for the data and one byte for the
713
+ // length) for our Held variant `FeatureFlags` is the same length as a `Vec` in memory.
714
714
const DIRECT_ALLOC_BYTES : usize = if sealed:: MIN_FEATURES_ALLOCATION_BYTES > 8 * 2 - 1 {
715
715
sealed:: MIN_FEATURES_ALLOCATION_BYTES
716
716
} else {
You can’t perform that action at this time.
0 commit comments