Add comments to signify inferred types
This commit is contained in:
parent
0a9f0c205e
commit
6c0135789a
|
@ -1582,7 +1582,7 @@ pub fn struct_def_string(
|
||||||
in_union = false;
|
in_union = false;
|
||||||
}
|
}
|
||||||
if i == anon.member_index {
|
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;
|
indent += 4;
|
||||||
in_union = true;
|
in_union = true;
|
||||||
}
|
}
|
||||||
|
@ -1594,7 +1594,7 @@ pub fn struct_def_string(
|
||||||
in_group = false;
|
in_group = false;
|
||||||
}
|
}
|
||||||
if i == anon.member_index {
|
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;
|
indent += 4;
|
||||||
in_group = true;
|
in_group = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue