File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ impl<T: Idx> ChunkedBitSet<T> {
502
502
} ;
503
503
#[ cfg( not( feature = "nightly" ) ) ]
504
504
let mut words = {
505
+ // FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
505
506
let words = mem:: MaybeUninit :: < [ Word ; CHUNK_WORDS ] > :: zeroed ( ) ;
506
507
// SAFETY: `words` can safely be all zeroes.
507
508
let words = unsafe { words. assume_init ( ) } ;
@@ -567,6 +568,7 @@ impl<T: Idx> ChunkedBitSet<T> {
567
568
} ;
568
569
#[ cfg( not( feature = "nightly" ) ) ]
569
570
let mut words = {
571
+ // FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
570
572
let words = mem:: MaybeUninit :: < [ Word ; CHUNK_WORDS ] > :: zeroed ( ) ;
571
573
// SAFETY: `words` can safely be all zeroes.
572
574
let words = unsafe { words. assume_init ( ) } ;
You can’t perform that action at this time.
0 commit comments