about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-11-16 16:22:48 -0500
committerSteve Klabnik <steve@steveklabnik.com>2015-11-16 16:22:48 -0500
commitbc6c16d4cbd1771280d1c629902184dfbc8a2877 (patch)
tree577a4eac11fd3dbacf695fe2ba222da5f00a6a41
parent3252aeb22d232e7134f4ab38bd1a46714ca904e8 (diff)
parentca4ab32a1e9659630b319e381e0088f5011e6070 (diff)
downloadrust-bc6c16d4cbd1771280d1c629902184dfbc8a2877.tar.gz
rust-bc6c16d4cbd1771280d1c629902184dfbc8a2877.zip
Rollup merge of #29863 - steveklabnik:gh29526, r=alexcrichton
Fixes #29526
-rw-r--r--src/doc/nomicon/other-reprs.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/nomicon/other-reprs.md b/src/doc/nomicon/other-reprs.md
index e361fbb7ae8..2639c1d4d6f 100644
--- a/src/doc/nomicon/other-reprs.md
+++ b/src/doc/nomicon/other-reprs.md
@@ -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
 FFI safe.
 
+* Tuple structs are like structs with regards to `repr(C)`, as the only
+  difference from a struct is that the fields aren’t named.
+
 * **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