Skip to content

Commit 4580668

Browse files
Removed unused HTML IDs
1 parent 62d3b79 commit 4580668

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustdoc/html/markdown.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,6 @@ static DEFAULT_ID_MAP: Lazy<FxHashMap<Cow<'static, str>, usize>> = Lazy::new(||
14421442
fn init_id_map() -> FxHashMap<Cow<'static, str>, usize> {
14431443
let mut map = FxHashMap::default();
14441444
// This is the list of IDs used in Javascript.
1445-
map.insert("help".into(), 1);
14461445
map.insert("settings".into(), 1);
14471446
map.insert("not-displayed".into(), 1);
14481447
map.insert("alternative-display".into(), 1);
@@ -1455,7 +1454,6 @@ fn init_id_map() -> FxHashMap<Cow<'static, str>, usize> {
14551454
map.insert("help-button".into(), 1);
14561455
map.insert("main-content".into(), 1);
14571456
map.insert("crate-search".into(), 1);
1458-
map.insert("render-detail".into(), 1);
14591457
map.insert("toggle-all-docs".into(), 1);
14601458
map.insert("all-types".into(), 1);
14611459
map.insert("default-settings".into(), 1);

0 commit comments

Comments
 (0)