Skip to content

Commit

Permalink
rustdoc: Fix links to static items in the search results
Browse files Browse the repository at this point in the history
  • Loading branch information
ollie27 committed Aug 13, 2016
1 parent 68d9284 commit 5940150
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '/') +
Expand Down

0 comments on commit 5940150

Please # to comment.