File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/librustdoc/html/static/js Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5050,11 +5050,11 @@ ${obj.displayPath}<span class="${type}">${name}</span>\
50505050 if ( query . proposeCorrectionFrom !== null && isTypeSearch ) {
50515051 const orig = query . proposeCorrectionFrom ;
50525052 const targ = query . proposeCorrectionTo ;
5053- const parts = [ `Type "${ orig } " not found and used as generic parameter.` ] ;
5053+ let message = `Type "${ orig } " not found and used as generic parameter.` ;
50545054 if ( targ !== null ) {
5055- parts . push ( ` Consider searching for "${ targ } " instead.`) ;
5055+ message += ` Consider searching for "${ targ } " instead.`;
50565056 }
5057- correctionOutput = `<h3 class="search-corrections">${ parts . join ( " " ) } </h3>` ;
5057+ correctionOutput = `<h3 class="search-corrections">${ message } </h3>` ;
50585058 }
50595059 if ( firstResult . value ) {
50605060 if ( correctionOutput !== "" ) {
You can’t perform that action at this time.
0 commit comments