| ... | @@ -2132,8 +2132,8 @@ test "slice widening" { | ... | @@ -2132,8 +2132,8 @@ test "slice widening" { |
| 2132 | {#header_open|struct#} | 2132 | {#header_open|struct#} |
| 2133 | {#code_begin|test|structs#} | 2133 | {#code_begin|test|structs#} |
| 2134 | // Declare a struct. | 2134 | // Declare a struct. |
| 2135 | // Zig gives no guarantees about the order of fields and whether or | 2135 | // Zig gives no guarantees about the order of fields and the size of |
| 2136 | // not there will be padding. | 2136 | // the struct but the fields are guaranteed to be ABI-aligned. |
| 2137 | const Point = struct { | 2137 | const Point = struct { |
| 2138 | x: f32, | 2138 | x: f32, |
| 2139 | y: f32, | 2139 | y: f32, |