Skip to content

Commit d963318

Browse files
authored
Correct eslint warning
1 parent 4de9c6d commit d963318

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
@@ -351,7 +351,7 @@ function initSearch(rawSearchIndex) {
351351
if (parserState.typeFilter === null) {
352352
parserState.typeFilter = "macro";
353353
} else if (parserState.typeFilter !== "macro") {
354-
throw new Error(`Invalid search type: macro \`!\` and ` +
354+
throw new Error("Invalid search type: macro `!` and " +
355355
`\`${parserState.typeFilter}\` both specified`);
356356
}
357357
end = foundExclamation;

0 commit comments

Comments
 (0)