diff --git a/doc/langref.html.in b/doc/langref.html.in index 391702cf8fcde30febf42ab5af113ec177d25a04..cea86e895541d8d7a0f5b172743fdad49221c579 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2138,6 +2138,7 @@ or
{#code|struct_default_field_values.zig#} + {#header_open|Faulty Default Field Values#}Default field values are only appropriate when the data invariants of a struct cannot be violated by omitting that field from an initialization. @@ -2162,6 +2163,7 @@ or without violating data invariants, then use an initialization method that accepts those runtime values, and populates the remaining fields.
{#header_close#} + {#header_close#} {#header_open|extern struct#}An {#syntax#}extern struct{#endsyntax#} has in-memory layout matching