" +
makeTabHeader(0, "In Names", ret_others[1]) +
makeTabHeader(1, "In Parameters", ret_in_args[1]) +
makeTabHeader(2, "In Return Types", ret_returned[1]) +
@@ -1740,7 +1741,7 @@ window.initSearch = rawSearchIndex => {
results.query.elems.length === 0 ? "In Function Return Types" :
results.query.returned.length === 0 ? "In Function Parameters" :
"In Function Signatures";
- output += '
' +
+ output += "
" +
makeTabHeader(0, signatureTabTitle, ret_others[1]) +
"
";
currentTab = 0;
diff --git a/src/librustdoc/html/static/js/settings.js b/src/librustdoc/html/static/js/settings.js
index a7b60a49689..ad32a193893 100644
--- a/src/librustdoc/html/static/js/settings.js
+++ b/src/librustdoc/html/static/js/settings.js
@@ -108,7 +108,7 @@
let output = "";
for (const setting of settings) {
- output += `
`;
+ output += "
";
const js_data_name = setting["js_name"];
const setting_name = setting["name"];
@@ -217,11 +217,10 @@
if (isSettingsPage) {
innerHTML +=
- `
Back`;
+ "
Back";
} else {
- innerHTML +=
- `
\
- Back`;
+ innerHTML += "
Back";
}
innerHTML += `
diff --git a/src/librustdoc/html/static/js/storage.js b/src/librustdoc/html/static/js/storage.js
index 69940bb89df..21de7d77d64 100644
--- a/src/librustdoc/html/static/js/storage.js
+++ b/src/librustdoc/html/static/js/storage.js
@@ -24,7 +24,7 @@ function getSettingValue(settingName) {
if (settingsDataset !== null) {
// See the comment for `default_settings.into_iter()` etc. in
// `Options::from_matches` in `librustdoc/config.rs`.
- const def = settingsDataset[settingName.replace(/-/g,'_')];
+ const def = settingsDataset[settingName.replace(/-/g,"_")];
if (def !== undefined) {
return def;
}
@@ -173,7 +173,7 @@ const updateSystemTheme = (function () {
// fallback to the CSS computed value
return () => {
const cssTheme = getComputedStyle(document.documentElement)
- .getPropertyValue('content');
+ .getPropertyValue("content");
switchTheme(
window.currentTheme,