formatting

This commit is contained in:
Folkert 2021-05-16 20:25:18 +02:00
parent ebd62485df
commit 3540a048d8
3 changed files with 12 additions and 14 deletions

View file

@ -1061,10 +1061,7 @@ impl<'a> Call<'a> {
.text("CallByPointer ")
.append(alloc.intersperse(it, " "))
}
LowLevel {
op: lowlevel,
opt_closure_layout: _,
} => {
LowLevel { op: lowlevel, .. } => {
let it = arguments.iter().map(|s| symbol_to_doc(alloc, *s));
alloc
@ -2668,7 +2665,9 @@ macro_rules! match_on_closure_argument {
lambda_set,
$closure_data_symbol,
|top_level_function, closure_data, function_layout| self::Call {
call_type: CallType::LowLevel { op: $op, opt_closure_layout: Some(function_layout) },
call_type: CallType::LowLevel {
op: $op, opt_closure_layout: Some(function_layout),
},
arguments: arena.alloc([$($x,)* top_level_function, closure_data]),
},
arena.alloc(top_level).full(),