mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
clippy
This commit is contained in:
parent
51f3752c94
commit
052ce8f2aa
8 changed files with 114 additions and 18 deletions
|
@ -990,15 +990,11 @@ impl<'a> Procs<'a> {
|
|||
|
||||
pub fn get_specialized_procs_without_rc(
|
||||
self,
|
||||
layout_cache: &mut LayoutCache<'a>,
|
||||
env: &mut Env<'a, '_>,
|
||||
) -> (MutMap<(Symbol, ProcLayout<'a>), Proc<'a>>, ProcsBase<'a>) {
|
||||
let mut specialized_procs =
|
||||
MutMap::with_capacity_and_hasher(self.specialized.len(), default_hasher());
|
||||
|
||||
for (symbol, layout, mut proc) in self.specialized.into_iter_assert_done() {
|
||||
// proc.make_tail_recursive(&mut layout_cache.interner, env);
|
||||
|
||||
for (symbol, layout, proc) in self.specialized.into_iter_assert_done() {
|
||||
let key = (symbol, layout);
|
||||
specialized_procs.insert(key, proc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue