Skip to content

Commit

Permalink
Add comments to signify inferred types
Browse files Browse the repository at this point in the history
  • Loading branch information
DaZombieKiller committed Jan 9, 2024
1 parent 0a9f0c2 commit 6c01357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/dwarf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ pub fn struct_def_string(
in_union = false;
}
if i == anon.member_index {
out.push_str(&indent_all_by(indent, "union {\n"));
out.push_str(&indent_all_by(indent, "union { // inferred\n"));
indent += 4;
in_union = true;
}
Expand All @@ -1594,7 +1594,7 @@ pub fn struct_def_string(
in_group = false;
}
if i == anon.member_index {
out.push_str(&indent_all_by(indent, "struct {\n"));
out.push_str(&indent_all_by(indent, "struct { // inferred\n"));
indent += 4;
in_group = true;
}
Expand Down

0 comments on commit 6c01357

Please sign in to comment.