diff --git a/src/type-layout.md b/src/type-layout.md index 51ba859ef..003a3ce63 100644 --- a/src/type-layout.md +++ b/src/type-layout.md @@ -236,8 +236,9 @@ the sake of clarity. To perform memory layout computations in actual code, use -> Note: This algorithm can produce zero-sized structs. This differs from -> C where structs without data still have a size of one byte. +> Note: This algorithm can produce zero-sized structs. In C, the size of +> structs without data is zero. This is not the same as C++ where structs +> without data still have a size of one byte. #### \#[repr(C)] Unions