mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
remove clones in IntroducedVariables clone
This commit is contained in:
parent
4e315797b0
commit
ce4f47d2e9
2 changed files with 13 additions and 1 deletions
|
@ -40,7 +40,8 @@ impl Output {
|
|||
self.tail_call = Some(later);
|
||||
}
|
||||
|
||||
self.introduced_variables.union(&other.introduced_variables);
|
||||
self.introduced_variables
|
||||
.union_owned(other.introduced_variables);
|
||||
self.aliases.extend(other.aliases);
|
||||
self.non_closures.extend(other.non_closures);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue