X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustdoc%2Fhtml%2Fmarkdown.rs;h=cfa6cd96595d6160e2320ca6a0635fbe51adcf25;hb=1d1ab21ad937608d89f0c9f29394be4995823f9c;hp=33639055b59efdea3e7662d81c2111b4b284b28d;hpb=9f3998b4aa9d0eea3249fdd48b8b719185673d16;p=rust.git diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs index 33639055b59..cfa6cd96595 100644 --- a/src/librustdoc/html/markdown.rs +++ b/src/librustdoc/html/markdown.rs @@ -1313,6 +1313,8 @@ fn init_id_map() -> FxHashMap { map.insert("toggle-all-docs".to_owned(), 1); map.insert("all-types".to_owned(), 1); map.insert("default-settings".to_owned(), 1); + map.insert("rustdoc-vars".to_owned(), 1); + map.insert("sidebar-vars".to_owned(), 1); // This is the list of IDs used by rustdoc sections. map.insert("fields".to_owned(), 1); map.insert("variants".to_owned(), 1);