mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
formatting
This commit is contained in:
parent
549b4be907
commit
136b42cbeb
1 changed files with 5 additions and 1 deletions
|
@ -239,7 +239,11 @@ impl<'a> WasmBackend<'a> {
|
|||
}
|
||||
|
||||
fn append_proc_debug_name(&mut self, name: Symbol) {
|
||||
let proc_index = self.proc_lookup.iter().position(|(n, _, _)| *n == name).unwrap();
|
||||
let proc_index = self
|
||||
.proc_lookup
|
||||
.iter()
|
||||
.position(|(n, _, _)| *n == name)
|
||||
.unwrap();
|
||||
let wasm_fn_index = self.fn_index_offset + proc_index as u32;
|
||||
|
||||
let mut debug_name = bumpalo::collections::String::with_capacity_in(64, self.env.arena);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue