about summary refs log tree commit diff
path: root/src/tools/rustdoc-js/tester.js
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2021-04-01 10:56:11 -0700
committerMichael Howell <michael@notriddle.com>2021-04-01 12:17:43 -0700
commit227f5ed679ed0ad997b6530df842d55980c8c90e (patch)
treedd4884b1a6db6a6f0b91579f61bf32a4b53c73be /src/tools/rustdoc-js/tester.js
parent6530b3243a773a7e6d0bcf4f617fb74b18d8d1ea (diff)
downloadrust-227f5ed679ed0ad997b6530df842d55980c8c90e.tar.gz
rust-227f5ed679ed0ad997b6530df842d55980c8c90e.zip
rustdoc: Separate filter-empty-string out into its own function
Diffstat (limited to 'src/tools/rustdoc-js/tester.js')
-rw-r--r--src/tools/rustdoc-js/tester.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/rustdoc-js/tester.js b/src/tools/rustdoc-js/tester.js
index c21277de335..a551a97bda5 100644
--- a/src/tools/rustdoc-js/tester.js
+++ b/src/tools/rustdoc-js/tester.js
@@ -264,7 +264,8 @@ function loadMainJsAndIndex(mainJs, searchIndex, storageJs, crate) {
     // execQuery last parameter is built in buildIndex.
     // buildIndex requires the hashmap from search-index.
     var functionsToLoad = ["buildHrefAndPath", "pathSplitter", "levenshtein", "validateResult",
-                           "handleAliases", "getQuery", "buildIndex", "execQuery", "execSearch"];
+                           "handleAliases", "getQuery", "buildIndex", "execQuery", "execSearch",
+                           "removeEmptyStringsFromArray"];
 
     ALIASES = {};
     finalJS += 'window = { "currentCrate": "' + crate + '", rootPath: "../" };\n';