diff --git a/src/util/dwarf.rs b/src/util/dwarf.rs index e82816e..74d5884 100644 --- a/src/util/dwarf.rs +++ b/src/util/dwarf.rs @@ -1147,7 +1147,7 @@ fn array_type_string( ); match dim.size { None => out.suffix.insert_str(0, "[]"), - Some(size) => out.suffix = format!("[{}]{}", size, out.suffix), + Some(size) => out.suffix = format!("{}[{}]", out.suffix, size), }; } Ok(out)