1
Fork 0

switch to limiting the number of init/uninit chunks

This commit is contained in:
Erik Desjardins 2022-02-19 01:17:31 -05:00
parent b7e5597491
commit d5769e9843
5 changed files with 16 additions and 26 deletions

View file

@ -957,6 +957,7 @@ impl InitMask {
}
/// Yields [`InitChunk`]s. See [`InitMask::range_as_init_chunks`].
#[derive(Clone)]
pub struct InitChunkIter<'a> {
init_mask: &'a InitMask,
/// Whether the next chunk we will return is initialized.