about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-07-14 15:03:51 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-07-14 15:03:51 +0200
commit4580668ca8e86bc596d28fa98616cc5d6ec57471 (patch)
tree725ba5ff69cc5b0b669b078358db921f1355361d /src
parent62d3b79d4bd9eccd7854ca3d0a6e9c07188698ef (diff)
downloadrust-4580668ca8e86bc596d28fa98616cc5d6ec57471.tar.gz
rust-4580668ca8e86bc596d28fa98616cc5d6ec57471.zip
Removed unused HTML IDs
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/markdown.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 91733004e44..4170c73b246 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -1442,7 +1442,6 @@ static DEFAULT_ID_MAP: Lazy<FxHashMap<Cow<'static, str>, usize>> = Lazy::new(||
 fn init_id_map() -> FxHashMap<Cow<'static, str>, usize> {
     let mut map = FxHashMap::default();
     // This is the list of IDs used in Javascript.
-    map.insert("help".into(), 1);
     map.insert("settings".into(), 1);
     map.insert("not-displayed".into(), 1);
     map.insert("alternative-display".into(), 1);
@@ -1455,7 +1454,6 @@ fn init_id_map() -> FxHashMap<Cow<'static, str>, usize> {
     map.insert("help-button".into(), 1);
     map.insert("main-content".into(), 1);
     map.insert("crate-search".into(), 1);
-    map.insert("render-detail".into(), 1);
     map.insert("toggle-all-docs".into(), 1);
     map.insert("all-types".into(), 1);
     map.insert("default-settings".into(), 1);