We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elem.name.length === 0
1 parent ab9cf32 commit a6051c7Copy full SHA for a6051c7
src/librustdoc/html/static/js/search.js
@@ -925,7 +925,7 @@ window.initSearch = function(rawSearchIndex) {
925
* no match, returns `MAX_LEV_DISTANCE + 1`.
926
*/
927
function checkType(row, elem, literalSearch) {
928
- if (elem.name.length === 0 || row[NAME].length === 0) {
+ if (row[NAME].length === 0) {
929
// This is a pure "generic" search, no need to run other checks.
930
if (row.length > GENERICS_DATA) {
931
return checkIfInGenerics(row, elem);
0 commit comments