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> {
502502 } ;
503503 #[ cfg( not( feature = "nightly" ) ) ]
504504 let mut words = {
505+ // FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
505506 let words = mem:: MaybeUninit :: < [ Word ; CHUNK_WORDS ] > :: zeroed ( ) ;
506507 // SAFETY: `words` can safely be all zeroes.
507508 let words = unsafe { words. assume_init ( ) } ;
@@ -567,6 +568,7 @@ impl<T: Idx> ChunkedBitSet<T> {
567568 } ;
568569 #[ cfg( not( feature = "nightly" ) ) ]
569570 let mut words = {
571+ // FIXME: unconditionally use `Rc::new_zeroed` once it is stable (#63291).
570572 let words = mem:: MaybeUninit :: < [ Word ; CHUNK_WORDS ] > :: zeroed ( ) ;
571573 // SAFETY: `words` can safely be all zeroes.
572574 let words = unsafe { words. assume_init ( ) } ;
You can’t perform that action at this time.
0 commit comments