File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ pub fn forget<T>(t: T) {
214214/// The `C` representation for items has a defined layout. With this layout,
215215/// the size of items is also stable as long as all fields have a stable size.
216216///
217- /// ## Structs
217+ /// ## Size of Structs
218218///
219219/// For `structs`, the size is determined by the following algorithm.
220220///
@@ -227,12 +227,12 @@ pub fn forget<T>(t: T) {
227227///
228228/// Unlike `C`, zero sized structs are not rounded up to one byte in size.
229229///
230- /// ## Enums
230+ /// ## Size of Enums
231231///
232232/// Enums that carry no data other than the descriminant have the same size as C enums
233233/// on the platform they are compiled for.
234234///
235- /// ## Unions
235+ /// ## Size of Unions
236236///
237237/// The size of a union is the size of its largest field.
238238///
You can’t perform that action at this time.
0 commit comments