diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-14 12:26:55 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-02-14 12:26:55 -0700 |
| commit | 1e49d1fca89a0fce1604a8188257fa6ea2749338 (patch) | |
| tree | 6be6bb41b8e8ad6262b8a373c6d60394581cb3a1 /doc | |
| parent | d164865308fcc0870c21da30431caf5d15a4f978 (diff) | |
| download | zig-1e49d1fca89a0fce1604a8188257fa6ea2749338.tar.gz zig-1e49d1fca89a0fce1604a8188257fa6ea2749338.zip | |
langref: correct info about type info of declarations
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index fd104db6da..c0b8c9cb48 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9513,9 +9513,14 @@ test "integer truncation" { Provides type reflection. </p> <p> - For {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and - {#link|error sets|Error Set Type#}, the fields are guaranteed to be in the same - order as declared. For declarations, the order is unspecified. + Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and + {#link|error sets|Error Set Type#} has fields which are are guaranteed to be in the same + order as appearance in the source file. + </p> + <p> + Type information of {#link|structs|struct#}, {#link|unions|union#}, {#link|enums|enum#}, and + {#link|opaques|opaque#} has declarations, which are also guaranteed to be in the same + order as appearance in the source file. </p> {#header_close#} |
