[rustdoc search] Include extern crates when filtering on import
This commit is contained in:
parent
6906167e01
commit
731981178d
1 changed files with 2 additions and 0 deletions
|
|
@ -3906,6 +3906,8 @@ class DocSearch {
|
|||
return name === "traitalias";
|
||||
case "macro":
|
||||
return name === "attr" || name === "derive";
|
||||
case "import":
|
||||
return name === "externcrate";
|
||||
}
|
||||
|
||||
// No match
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue