Nomicon: mention tuple structs with repr(c)

Fixes #29526
pull/10/head
Steve Klabnik 9 years ago committed by Manish Goregaokar
parent 9bfb59ca83
commit 8dc4b7608d

@ -26,6 +26,9 @@ still consumes a byte of space.
* DSTs, tuples, and tagged unions are not a concept in C and as such are never * DSTs, tuples, and tagged unions are not a concept in C and as such are never
FFI safe. FFI safe.
* Tuple structs are like structs with regards to `repr(C)`, as the only
difference from a struct is that the fields arent named.
* **If the type would have any [drop flags], they will still be added** * **If the type would have any [drop flags], they will still be added**
* This is equivalent to one of `repr(u*)` (see the next section) for enums. The * This is equivalent to one of `repr(u*)` (see the next section) for enums. The

Loading…
Cancel
Save