We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb572cb commit 4a2d6dfCopy full SHA for 4a2d6df
src/librustdoc/html/static/js/main.js
@@ -1679,8 +1679,7 @@ function preLoadCss(cssUrl) {
1679
if (isHelpPage) {
1680
const help_section = document.createElement("section");
1681
help_section.appendChild(container);
1682
- // @ts-expect-error
1683
- document.getElementById("main-content").appendChild(help_section);
+ nonnull(document.getElementById("main-content")).appendChild(help_section);
1684
} else {
1685
onEachLazy(document.getElementsByClassName("help-menu"), menu => {
1686
if (menu.offsetWidth !== 0) {
0 commit comments