rustdoc-search: clean up checkIfInGenerics call at end of checkType

This commit is contained in:
Michael Howell 2023-04-20 12:17:43 -07:00
parent b6f81e0434
commit e0a7462d2f

View file

@ -1227,11 +1227,7 @@ function initSearch(rawSearchIndex) {
// If the current item does not match, try [unboxing] the generic.
// [unboxing]:
// https://ndmitchell.com/downloads/slides-hoogle_fast_type_searching-09_aug_2008.pdf
if (checkIfInGenerics(row, elem)) {
return true;
}
return false;
return checkIfInGenerics(row, elem);
}
/**