rustdoc-search: clean up checkIfInGenerics call at end of checkType
This commit is contained in:
parent
b6f81e0434
commit
e0a7462d2f
1 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue