authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2019-07-11 17:40:54-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-07-11 20:36:30-04:00
log1766bd8a0806ad654ee0eadfcb84acf7be2145ff
treea2dc61349e9d05e16705e42e6befa12366b8fa0b
parentc7a976972fe9bb59cff12d75f9238469b13ba183

doc clarify struct size and ABI-alignment


1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
......@@ -2132,8 +2132,8 @@ test "slice widening" {
21322132 {#header_open|struct#}
21332133 {#code_begin|test|structs#}
21342134// Declare a struct.
2135// Zig gives no guarantees about the order of fields and whether or
2136// not there will be padding.
2135// Zig gives no guarantees about the order of fields and the size of
2136// the struct but the fields are guaranteed to be ABI-aligned.
21372137const Point = struct {
21382138 x: f32,
21392139 y: f32,