rustdoc: Fix links to static items in the search results

This commit is contained in:
Oliver Middleton 2016-08-13 15:48:38 +01:00
parent 68d9284a9b
commit 5940150841

View File

@ -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, '/') +