summary refs log tree commit diff
path: root/src/librustdoc/html/markdown.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-07-25 00:35:58 +0200
committerest31 <MTest31@outlook.com>2022-07-25 19:11:10 +0200
commit5fcd2f72feefa22e2c304301a67f448fde21bb7e (patch)
tree5713219a2c294377f946a72fe87706441ffe75ed /src/librustdoc/html/markdown.rs
parent2a990f7c0fe4d00042269beb7ee67d0082de4e07 (diff)
downloadrust-5fcd2f72feefa22e2c304301a67f448fde21bb7e.tar.gz
rust-5fcd2f72feefa22e2c304301a67f448fde21bb7e.zip
Add a clickable link to the layout section
Diffstat (limited to 'src/librustdoc/html/markdown.rs')
-rw-r--r--src/librustdoc/html/markdown.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 4170c73b246..52a2effca0f 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -1485,6 +1485,7 @@ fn init_id_map() -> FxHashMap<Cow<'static, str>, usize> {
     map.insert("synthetic-implementations-list".into(), 1);
     map.insert("blanket-implementations-list".into(), 1);
     map.insert("deref-methods".into(), 1);
+    map.insert("layout".into(), 1);
     map
 }