Format object_builder

This commit is contained in:
Agus Zubiaga 2023-10-08 01:09:32 -03:00 committed by Folkert
parent 11ca6dca94
commit b9c003afc6
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -1021,7 +1021,11 @@ fn build_proc<'a, B: Backend<'a>>(
} }
} }
fn add_undefined_rc_proc(output: &mut Object<'_>, name: &String, rc_proc_names: &Vec<'_, (symbol::Symbol, String)>) { fn add_undefined_rc_proc(
output: &mut Object<'_>,
name: &String,
rc_proc_names: &Vec<'_, (symbol::Symbol, String)>,
) {
// If the symbol is an undefined reference counting procedure, we need to add it here. // If the symbol is an undefined reference counting procedure, we need to add it here.
if output.symbol_id(name.as_bytes()).is_none() { if output.symbol_id(name.as_bytes()).is_none() {
for (sym, rc_name) in rc_proc_names.iter() { for (sym, rc_name) in rc_proc_names.iter() {