Skip to content

Commit ec549d2

Browse files
committed
search.js: displayTypeSignature should default to undef, not null
this is because tester.js iterates over the keys of each ResultObject.
1 parent 74b7599 commit ec549d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/librustdoc/html/static/js/rustdoc.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ declare namespace rustdoc {
257257
ty: number,
258258
type?: FunctionSearchType,
259259
paramNames?: string[],
260-
displayTypeSignature: Promise<rustdoc.DisplayTypeSignature> | null,
260+
displayTypeSignature: Promise<rustdoc.DisplayTypeSignature> | undefined,
261261
item: Row,
262262
dontValidate?: boolean,
263263
}

0 commit comments

Comments
 (0)