about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2016-08-13 15:48:38 +0100
committerOliver Middleton <olliemail27@gmail.com>2016-08-13 15:48:38 +0100
commit5940150841fab50c3a178b5ccc33ceff0b0b4545 (patch)
tree493b2a6aee65af97353b09a60b9b9b9277dfa472
parent68d9284a9b7570ec32178e544f6f8ca7ac0be0f9 (diff)
downloadrust-5940150841fab50c3a178b5ccc33ceff0b0b4545.tar.gz
rust-5940150841fab50c3a178b5ccc33ceff0b0b4545.zip
rustdoc: Fix links to static items in the search results
-rw-r--r--src/librustdoc/html/static/main.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 68035e5abe4..0223475be4e 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -577,10 +577,6 @@
                         displayPath = item.path + '::';
                         href = rootPath + item.path.replace(/::/g, '/') + '/' +
                                name + '/index.html';
-                    } else if (type === 'static' || type === 'reexport') {
-                        displayPath = item.path + '::';
-                        href = rootPath + item.path.replace(/::/g, '/') +
-                               '/index.html';
                     } else if (type === "primitive") {
                         displayPath = "";
                         href = rootPath + item.path.replace(/::/g, '/') +