Skip to content

Commit 7319811

Browse files
[rustdoc search] Include extern crates when filtering on import
1 parent 6906167 commit 7319811

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/js/search.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3906,6 +3906,8 @@ class DocSearch {
39063906
return name === "traitalias";
39073907
case "macro":
39083908
return name === "attr" || name === "derive";
3909+
case "import":
3910+
return name === "externcrate";
39093911
}
39103912

39113913
// No match

0 commit comments

Comments
 (0)