We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73d69a7 commit 87d863aCopy full SHA for 87d863a
1 file changed
acvm-repo/acir/src/lib.rs
@@ -399,13 +399,12 @@ mod reflection {
399
matches!(field.value, Format::Unit)
400
}
401
402
- let non_unit_field_count = fields.iter().filter(|f| !is_unit(*f)).count();
+ let non_unit_field_count = fields.iter().filter(|f| !is_unit(f)).count();
403
404
self.msgpack_pack(name, &{
405
let mut body = format!(
406
"
407
- packer.pack_map({});",
408
- non_unit_field_count
+ packer.pack_map({non_unit_field_count});",
409
);
410
for field in fields {
411
if is_unit(field) {
0 commit comments