chore: fmt

This commit is contained in:
2025-05-10 20:13:00 +08:00
parent 046b03c60e
commit d04d46c905
7 changed files with 49 additions and 53 deletions

View File

@@ -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(),
}
}