diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2016-08-13 15:48:38 +0100 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2016-08-13 15:48:38 +0100 |
| commit | 5940150841fab50c3a178b5ccc33ceff0b0b4545 (patch) | |
| tree | 493b2a6aee65af97353b09a60b9b9b9277dfa472 | |
| parent | 68d9284a9b7570ec32178e544f6f8ca7ac0be0f9 (diff) | |
| download | rust-5940150841fab50c3a178b5ccc33ceff0b0b4545.tar.gz rust-5940150841fab50c3a178b5ccc33ceff0b0b4545.zip | |
rustdoc: Fix links to static items in the search results
| -rw-r--r-- | src/librustdoc/html/static/main.js | 4 |
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, '/') + |
