mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
parent
7af408f58d
commit
394495d307
9 changed files with 14 additions and 52 deletions
|
@ -1359,10 +1359,8 @@ fn separate_union_lambdas<M: MetaCollector>(
|
|||
// F2 -> { left: [ [a] ], right: [ [Str] ] }
|
||||
let mut buckets: VecMap<Symbol, Sides> = VecMap::with_capacity(fields1.len() + fields2.len());
|
||||
|
||||
let (mut fields_left, mut fields_right) = (
|
||||
fields1.iter_all().peekable(),
|
||||
fields2.iter_all().peekable(),
|
||||
);
|
||||
let (mut fields_left, mut fields_right) =
|
||||
(fields1.iter_all().peekable(), fields2.iter_all().peekable());
|
||||
|
||||
loop {
|
||||
use std::cmp::Ordering;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue