File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ impl SmolBitSet {
252252 unsafe { self . ptr . as_ptr ( ) . add ( 1 ) }
253253 }
254254
255+ #[ cfg( test) ]
255256 #[ inline]
256257 fn as_slice ( & self ) -> & [ BitSliceType ] {
257258 if self . is_inline ( ) {
@@ -266,6 +267,7 @@ impl SmolBitSet {
266267 unsafe { slice:: from_raw_parts ( self . data_ptr_unchecked ( ) , self . len_unchecked ( ) ) }
267268 }
268269
270+ #[ cfg( test) ]
269271 #[ inline]
270272 fn as_slice_mut ( & mut self ) -> & mut [ BitSliceType ] {
271273 if self . is_inline ( ) {
@@ -282,6 +284,7 @@ impl SmolBitSet {
282284
283285 /// # Warning
284286 /// `highest_bit` is 1 indexed, so the least significant bit is 1, not 0!
287+ #[ cfg( test) ]
285288 #[ inline]
286289 fn spill ( & mut self , highest_bit : usize ) {
287290 if !self . is_inline ( ) {
You can’t perform that action at this time.
0 commit comments