We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b7599 commit 65624d9Copy full SHA for 65624d9
src/tools/rustdoc-js/tester.js
@@ -451,7 +451,7 @@ function loadSearchJS(doc_folder, resource_suffix) {
451
if (!Object.prototype.hasOwnProperty.call(entry, key)) {
452
continue;
453
}
454
- if (key === "displayTypeSignature") {
+ if (key === "displayTypeSignature" && entry.displayTypeSignature !== null) {
455
const {type, mappedNames, whereClause} =
456
await entry.displayTypeSignature;
457
entry.displayType = arrayToCode(type);
0 commit comments