about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-02-07 01:02:23 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-02-10 14:49:20 +0100
commitc20357a62aae335b045f61ba01b4a9a1776db992 (patch)
tree5e80247ea6f532ca2343e95782ea927c79c70ebd
parent29354ddc15efb0ae7d6a45ca333b780bbe0ed501 (diff)
downloadrust-c20357a62aae335b045f61ba01b4a9a1776db992.tar.gz
rust-c20357a62aae335b045f61ba01b4a9a1776db992.zip
Add trait aliases to js types
-rw-r--r--src/librustdoc/html/static/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 877ac9a62bb..3625848dd85 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -68,7 +68,8 @@ if (!DOMTokenList.prototype.remove) {
                      "keyword",
                      "existential",
                      "attr",
-                     "derive"];
+                     "derive",
+                     "traitalias"];
 
     var search_input = document.getElementsByClassName("search-input")[0];
 
@@ -1786,6 +1787,7 @@ if (!DOMTokenList.prototype.remove) {
         block("type", "Type Definitions");
         block("foreigntype", "Foreign Types");
         block("keyword", "Keywords");
+        block("traitalias", "Trait Aliases");
     }
 
     window.initSidebarItems = initSidebarItems;