Skip to content

Commit d765b73

Browse files
Fix duplicated "in" in the search result text
1 parent e170d87 commit d765b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ window.initSearch = rawSearchIndex => {
17401740

17411741
let output = "<div id=\"search-settings\">" +
17421742
`<h1 class="search-results-title">Results for ${escape(results.query.userQuery)}` +
1743-
`${typeFilter}</h1> in ${crates} </div>`;
1743+
`${typeFilter}</h1>${crates}</div>`;
17441744
if (results.query.error !== null) {
17451745
output += `<h3>Query parser error: "${results.query.error}".</h3>`;
17461746
output += "<div id=\"titles\">" +

0 commit comments

Comments
 (0)