Formatting

This commit is contained in:
Michael Schimmel
2026-02-25 09:59:23 +01:00
parent e07acc0208
commit f995aaf81b
3 changed files with 21 additions and 7 deletions
+3 -1
View File
@@ -417,7 +417,9 @@ impl VM {
self.stack.extend(arg_vals);
} else {
// Map each parameter pattern to the provided arguments
if let BoundKind::Tuple { elements } = &closure.parameter_node.kind {
if let BoundKind::Tuple { elements } =
&closure.parameter_node.kind
{
let mut offset = 0;
for el in elements {
self.unpack(el, &arg_vals, &mut offset)?;