chore: fmt
This commit is contained in:
@@ -13,9 +13,7 @@ pub fn compile(downgraded: ir::Downgraded) -> Program {
|
||||
thunks: downgraded
|
||||
.thunks
|
||||
.into_iter()
|
||||
.map(|thunk| Thunk {
|
||||
opcodes: Compiler::new().compile(thunk),
|
||||
})
|
||||
.map(|thunk| Compiler::new().compile(thunk))
|
||||
.collect(),
|
||||
funcs: downgraded
|
||||
.funcs
|
||||
@@ -23,9 +21,9 @@ pub fn compile(downgraded: ir::Downgraded) -> Program {
|
||||
.map(|func| Func {
|
||||
env: None,
|
||||
param: func.param.into(),
|
||||
opcodes: Compiler::new().compile(*func.body)
|
||||
opcodes: Compiler::new().compile(*func.body),
|
||||
})
|
||||
.collect()
|
||||
.collect(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user