We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a2e224 commit 19b4e2eCopy full SHA for 19b4e2e
src/librustdoc/html/static/js/main.js
@@ -1013,7 +1013,7 @@ function preLoadCss(cssUrl) {
1013
// same heading are grouped.
1014
const cratesGroupedByHeading = new Map();
1015
for (const entry of window.ALL_CRATES) {
1016
- const heading = entry.h;
+ const heading = entry.h || "";
1017
const crateName = entry.c;
1018
let group = cratesGroupedByHeading.get(heading);
1019
if (group === undefined) {
src/librustdoc/html/static/js/rustdoc.d.ts
@@ -403,7 +403,7 @@ declare namespace rustdoc {
403
*
404
* May be empty to specify the first, primary heading.
405
*/
406
- h: string,
+ h?: string,
407
/** Crate name. */
408
c: string,
409
}
0 commit comments