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:57:57-07:00
logbe097cdba8fb33149adb091cffcfb93d727379e9
treef486ab377398881d18e7026d2704acb53b7af34d
parent9f6b9850acbeacf3590482666589f68cef647a28

langref: correct info about type info of declarations


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

doc/langref.html.in+8-3
...@@ -9507,9 +9507,14 @@ test "integer truncation" {...@@ -9507,9 +9507,14 @@ test "integer truncation" {
9507 Provides type reflection.9507 Provides type reflection.
9508 </p>9508 </p>
9509 <p>9509 <p>
9510 For {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and9510 Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
9511 {#link|error sets|Error Set Type#}, the fields are guaranteed to be in the same9511 {#link|error sets|Error Set Type#} has fields which are are guaranteed to be in the same
9512 order as declared. For declarations, the order is unspecified.9512 order as appearance in the source file.
9513 </p>
9514 <p>
9515 Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and
9516 {#link|opaques|opaque#} has declarations, which are also guaranteed to be in the same
9517 order as appearance in the source file.
9513 </p>9518 </p>
9514 {#header_close#}9519 {#header_close#}
95159520