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) {
214
214
/// The `C` representation for items has a defined layout. With this layout,
215
215
/// the size of items is also stable as long as all fields have a stable size.
216
216
///
217
- /// ## Structs
217
+ /// ## Size of Structs
218
218
///
219
219
/// For `structs`, the size is determined by the following algorithm.
220
220
///
@@ -227,12 +227,12 @@ pub fn forget<T>(t: T) {
227
227
///
228
228
/// Unlike `C`, zero sized structs are not rounded up to one byte in size.
229
229
///
230
- /// ## Enums
230
+ /// ## Size of Enums
231
231
///
232
232
/// Enums that carry no data other than the descriminant have the same size as C enums
233
233
/// on the platform they are compiled for.
234
234
///
235
- /// ## Unions
235
+ /// ## Size of Unions
236
236
///
237
237
/// The size of a union is the size of its largest field.
238
238
///
You can’t perform that action at this time.
0 commit comments