Support extern type in rustdoc.

Fixes #45640.
This commit is contained in:
kennytm
2017-11-15 17:31:23 +08:00
parent f93a4928c2
commit 2792b56a92
5 changed files with 67 additions and 3 deletions

View File

@@ -37,7 +37,8 @@
"associatedtype",
"constant",
"associatedconstant",
"union"];
"union",
"foreigntype"];
// On the search screen, so you remain on the last tab you opened.
//
@@ -1445,6 +1446,7 @@
block("trait", "Traits");
block("fn", "Functions");
block("type", "Type Definitions");
block("foreigntype", "Foreign Types");
}
window.initSidebarItems = initSidebarItems;