about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorHavvy <ryan.havvy@gmail.com>2017-09-28 10:47:54 -0700
committerHavvy <ryan.havvy@gmail.com>2017-09-28 10:47:54 -0700
commit0ece48e2113cd8de4a8bce66eecdd081872ce56e (patch)
treee02ae2abf8d74d8090a17f678db1924348795e51 /src/libcore
parent72b3139c3f87683b82775bcced09583ab25ff3a1 (diff)
downloadrust-0ece48e2113cd8de4a8bce66eecdd081872ce56e.tar.gz
rust-0ece48e2113cd8de4a8bce66eecdd081872ce56e.zip
Remove link duplication.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/mem.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 493dd458c1b..14ef789f107 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -214,7 +214,7 @@ pub fn forget<T>(t: T) {
 /// The `C` representation for items has a defined layout. With this layout,
 /// the size of items is also stable as long as all fields have a stable size.
 ///
-/// ## Structs
+/// ## Size of Structs
 ///
 /// For `structs`, the size is determined by the following algorithm.
 ///
@@ -227,12 +227,12 @@ pub fn forget<T>(t: T) {
 ///
 /// Unlike `C`, zero sized structs are not rounded up to one byte in size.
 ///
-/// ## Enums
+/// ## Size of Enums
 ///
 /// Enums that carry no data other than the descriminant have the same size as C enums
 /// on the platform they are compiled for.
 ///
-/// ## Unions
+/// ## Size of Unions
 ///
 /// The size of a union is the size of its largest field.
 ///