manual clippy fixes

This commit is contained in:
Folkert 2023-06-26 20:45:39 +02:00
parent ef39bad7c6
commit 2d616d1fe9
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 9 additions and 9 deletions

View file

@ -153,7 +153,7 @@ fn index_struct_ptr<'a, 'ctx>(
let field_layout = field_layouts[index as usize];
let field_repr = layout_interner.get_repr(field_layout);
let name = format!("struct_field_access_record_{}", index);
let name = format!("struct_field_access_record_{index}");
let field_value = env
.builder
.new_build_struct_gep(struct_type, ptr, index as u32, &name)