authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-02-14 12:26:55-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-02-14 12:26:55-07:00
log1e49d1fca89a0fce1604a8188257fa6ea2749338
tree6be6bb41b8e8ad6262b8a373c6d60394581cb3a1
parentd164865308fcc0870c21da30431caf5d15a4f978

langref: correct info about type info of declarations


1 files changed, 8 insertions(+), 3 deletions(-)

doc/langref.html.in+8-3
......@@ -9513,9 +9513,14 @@ test "integer truncation" {
95139513 Provides type reflection.
95149514 </p>
95159515 <p>
9516 For {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
9517 {#link|error sets|Error Set Type#}, the fields are guaranteed to be in the same
9518 order as declared. For declarations, the order is unspecified.
9516 Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
9517 {#link|error sets|Error Set Type#} has fields which are are guaranteed to be in the same
9518 order as appearance in the source file.
9519 </p>
9520 <p>
9521 Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
9522 {#link|opaques|opaque#} has declarations, which are also guaranteed to be in the same
9523 order as appearance in the source file.
95199524 </p>
95209525 {#header_close#}
95219526