File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,10 @@ const fn calc_shift<T>() -> usize {
137
137
+ ( mem:: align_of :: < T > ( ) > 2 ) as usize
138
138
+ ( mem:: align_of :: < T > ( ) > 4 ) as usize
139
139
+ ( mem:: align_of :: < T > ( ) > 8 ) as usize
140
- + 1 // In practice this +1 results in less failures, however it's not "correct". Any TCell with a
141
- // meaningful value happens to have a minimum size of mem::size_of::<usize>() * 2 which might
142
- // explain why the +1 is helpful for certain workloads.
140
+ + 1 // In practice this +1 results in less failures, however it's not "correct". Any TCell
141
+ // with a meaningful value happens to have a minimum size of
142
+ // mem::size_of::<usize>() * 2 which might explain why the +1 is helpful for
143
+ // certain workloads.
143
144
}
144
145
145
146
#[ inline]
Original file line number Diff line number Diff line change 3
3
#![ cfg_attr( not( test) , no_std) ]
4
4
#![ feature( core_intrinsics) ]
5
5
#![ feature( link_llvm_intrinsics) ]
6
- #![ cfg_attr ( test , feature( test) ) ]
6
+ #![ feature( test) ]
7
7
#![ warn( missing_docs) ]
8
8
9
9
#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments