We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b92f0 commit 9581f19Copy full SHA for 9581f19
src/librustdoc/html/static/js/search.js
@@ -2740,7 +2740,11 @@ class DocSearch {
2740
return [displayPath, href, `${exactPath}::${name}`];
2741
};
2742
2743
- // @ts-expect-error
+ /**
2744
+ *
2745
+ * @param {string} path
2746
+ * @returns {string}
2747
+ */
2748
function pathSplitter(path) {
2749
const tmp = "<span>" + path.replace(/::/g, "::</span><span>");
2750
if (tmp.endsWith("<span>")) {
0 commit comments