Skip to content

Commit ece91f5

Browse files
committed
fix typo
1 parent a9223e2 commit ece91f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/src/representation/structs-and-tuples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ the `[[no_unique_address]]` attribute, in which case they do not
212212
increase the overall size of the struct.
213213

214214
**Structs of zero-size.** It is also possible to have structs that
215-
have fields but have non-zero size. In this case, the size of the
215+
have fields but still have zero size. In this case, the size of the
216216
struct would be zero, but its alignment may be greater. For example,
217217
`#[repr(C)] struct Foo { x: [u16; 0] }` would have an alignment of 2
218218
bytes by default. ([This matches the behavior in gcc and

0 commit comments

Comments
 (0)