Split {Idx, IndexVec, IndexSlice} into their own modules

This commit is contained in:
Maybe Waffle 2023-04-19 10:57:17 +00:00
parent 64bcb32651
commit e496fbec92
150 changed files with 472 additions and 454 deletions

View file

@ -1,6 +1,3 @@
use crate::vec::{Idx, IndexVec};
use arrayvec::ArrayVec;
use smallvec::{smallvec, SmallVec};
use std::fmt;
use std::iter;
use std::marker::PhantomData;
@ -9,8 +6,13 @@ use std::ops::{BitAnd, BitAndAssign, BitOrAssign, Bound, Not, Range, RangeBounds
use std::rc::Rc;
use std::slice;
use arrayvec::ArrayVec;
use smallvec::{smallvec, SmallVec};
use rustc_macros::{Decodable, Encodable};
use crate::{Idx, IndexVec};
use Chunk::*;
#[cfg(test)]