clean up test imports

This commit is contained in:
Folkert 2020-08-08 21:56:43 +02:00
parent a015dad566
commit 5082d40ff5
8 changed files with 14 additions and 46 deletions

View file

@ -91,7 +91,7 @@ pub enum InProgressProc<'a> {
impl<'a> Procs<'a> {
// TODO investigate make this an iterator?
pub fn to_specialized_procs(self, arena: &'a Bump) -> MutMap<(Symbol, Layout<'a>), Proc<'a>> {
pub fn get_specialized_procs(self, arena: &'a Bump) -> MutMap<(Symbol, Layout<'a>), Proc<'a>> {
let mut result = MutMap::with_capacity_and_hasher(self.specialized.len(), default_hasher());
for (key, in_prog_proc) in self.specialized.into_iter() {