mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
autodoc: Display type kinds for containers (#17667)
This commit is contained in:
parent
b822e841cd
commit
606f0e496e
@ -3539,6 +3539,13 @@ Happy writing!
|
||||
}
|
||||
domSectTests.classList.remove("hidden");
|
||||
}
|
||||
|
||||
if (container.kind !== typeKinds.Struct || containerNode.fields.length > 0) {
|
||||
domHdrName.innerHTML = "<pre class='inline'>" +
|
||||
zigAnalysis.typeKinds[container.kind] +
|
||||
"</pre>";
|
||||
domHdrName.classList.remove("hidden");
|
||||
}
|
||||
}
|
||||
|
||||
function operatorCompare(a, b) {
|
||||
|
Loading…
Reference in New Issue
Block a user