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 @@ -173,9 +173,9 @@ impl Iterator for ProbeSeq {
173
173
/// taking the maximum load factor into account.
174
174
///
175
175
/// Returns `None` if an overflow occurs.
176
- #[ cfg_attr( feature = "inline-more" , inline) ]
177
176
// Workaround for emscripten bug emscripten-core/emscripten-fastcomp#258
178
177
#[ cfg_attr( target_os = "emscripten" , inline( never) ) ]
178
+ #[ cfg_attr( not( target_os = "emscripten" ) , inline) ]
179
179
fn capacity_to_buckets ( cap : usize ) -> Option < usize > {
180
180
debug_assert_ne ! ( cap, 0 ) ;
181
181
@@ -202,7 +202,7 @@ fn capacity_to_buckets(cap: usize) -> Option<usize> {
202
202
203
203
/// Returns the maximum effective capacity for the given bucket mask, taking
204
204
/// the maximum load factor into account.
205
- #[ cfg_attr ( feature = " inline-more" , inline ) ]
205
+ #[ inline]
206
206
fn bucket_mask_to_capacity ( bucket_mask : usize ) -> usize {
207
207
if bucket_mask < 8 {
208
208
// For tables with 1/2/4/8 buckets, we always reserve one empty slot.
You can’t perform that action at this time.
0 commit comments