Skip to content

Commit 5940150

Browse files
committed
rustdoc: Fix links to static items in the search results
1 parent 68d9284 commit 5940150

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/html/static/main.js

-4
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,6 @@
577577
displayPath = item.path + '::';
578578
href = rootPath + item.path.replace(/::/g, '/') + '/' +
579579
name + '/index.html';
580-
} else if (type === 'static' || type === 'reexport') {
581-
displayPath = item.path + '::';
582-
href = rootPath + item.path.replace(/::/g, '/') +
583-
'/index.html';
584580
} else if (type === "primitive") {
585581
displayPath = "";
586582
href = rootPath + item.path.replace(/::/g, '/') +

0 commit comments

Comments
 (0)