Skip to content

Commit 6f9fde6

Browse files
committed
use spaces, not tabs
1 parent ad8890f commit 6f9fde6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/librustdoc/html/static/js/search.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -2815,7 +2815,7 @@ ${item.displayPath}<span class="${type}">${name}</span>\
28152815
}
28162816
}
28172817

2818-
let crates = "";
2818+
let crates = "";
28192819

28202820
let output = `<h1 class="search-results-title">Results${crates}</h1>`;
28212821
if (results.query.error !== null) {
@@ -3879,17 +3879,17 @@ ${item.displayPath}<span class="${type}">${name}</span>\
38793879
}
38803880

38813881

3882-
console.log(rawSearchIndex);
3883-
let crates = "";
3884-
if (rawSearchIndex.size > 1) {
3882+
console.log(rawSearchIndex);
3883+
let crates = "";
3884+
if (rawSearchIndex.size > 1) {
38853885
crates = "<div id=\"crate-search-div\"><select id=\"crate-search\">" +
38863886
"<option value=\"all crates\" selected>all crates</option>";
38873887
for (const c of rawSearchIndex.keys()) {
38883888
crates += `<option value="${c}">${c}</option>`;
38893889
}
38903890
crates += "</select></div>";
38913891
}
3892-
document.getElementById("search-focus-panel").innerHTML = crates;
3892+
document.getElementById("search-focus-panel").innerHTML = crates;
38933893
}
38943894

38953895
if (typeof window !== "undefined") {

0 commit comments

Comments
 (0)