Skip to content

Commit bc6c16d

Browse files
committed
Rollup merge of #29863 - steveklabnik:gh29526, r=alexcrichton
Fixes #29526
2 parents 3252aeb + ca4ab32 commit bc6c16d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doc/nomicon/other-reprs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ still consumes a byte of space.
2626
* DSTs, tuples, and tagged unions are not a concept in C and as such are never
2727
FFI safe.
2828

29+
* Tuple structs are like structs with regards to `repr(C)`, as the only
30+
difference from a struct is that the fields aren’t named.
31+
2932
* **If the type would have any [drop flags], they will still be added**
3033

3134
* This is equivalent to one of `repr(u*)` (see the next section) for enums. The

0 commit comments

Comments
 (0)