We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4a9a9 commit 0a1f14aCopy full SHA for 0a1f14a
src/librustdoc/html/static/js/main.js
@@ -180,7 +180,6 @@ function browserSupportsHistoryApi() {
180
return window.history && typeof window.history.pushState === "function";
181
}
182
183
-// eslint-disable-next-line no-unused-vars
184
function loadCss(cssUrl) {
185
const link = document.createElement("link");
186
link.href = cssUrl;
src/librustdoc/html/static/js/storage.js
@@ -51,7 +51,6 @@ function hasClass(elem, className) {
51
return elem && elem.classList && elem.classList.contains(className);
52
53
54
55
function addClass(elem, className) {
56
if (!elem || !elem.classList) {
57
return;
0 commit comments