Skip to content

Commit 0ece48e

Browse files
committed
Remove link duplication.
1 parent 72b3139 commit 0ece48e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/mem.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
///

0 commit comments

Comments
 (0)