Auto merge of #50432 - GuillaumeGomez:fix-vec-new-search, r=QuietMisdreavus
Fix rustdoc pathes search Fixes #50086. Depends on #50302. r? @QuietMisdreavus
This commit is contained in:
commit
c8a3ec1ce6
4 changed files with 48 additions and 3 deletions
|
|
@ -993,7 +993,7 @@
|
|||
Math.min(results_returned[fullId].lev, returned);
|
||||
}
|
||||
if (index !== -1 || lev <= MAX_LEV_DISTANCE) {
|
||||
if (index !== -1) {
|
||||
if (index !== -1 && paths.length < 2) {
|
||||
lev = 0;
|
||||
}
|
||||
if (results[fullId] === undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue