Skip to content

Commit 6407e5b

Browse files
committed
Fix ci check
1 parent 7520201 commit 6407e5b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/html/static/js/search.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,8 @@ class DocSearch {
19861986
name + "/index.html";
19871987
} else if (type === "import") {
19881988
displayPath = item.path + "::";
1989-
href = this.rootPath + item.path.replace(/::/g, "/") + "/index.html#reexport." + name;
1989+
href = this.rootPath + item.path.replace(/::/g, "/") +
1990+
"/index.html#reexport." + name;
19901991
} else if (type === "primitive" || type === "keyword") {
19911992
displayPath = "";
19921993
href = this.rootPath + path.replace(/::/g, "/") +
@@ -2030,7 +2031,7 @@ class DocSearch {
20302031
"/" + type + "." + name + ".html";
20312032
}
20322033
return [displayPath, href, `${exactPath}::${name}`];
2033-
}
2034+
};
20342035

20352036
function pathSplitter(path) {
20362037
const tmp = "<span>" + path.replace(/::/g, "::</span><span>");

0 commit comments

Comments
 (0)