We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af6f347 commit 8860c5aCopy full SHA for 8860c5a
src/librustdoc/html/static/js/main.js
@@ -1022,7 +1022,7 @@ function preLoadCss(cssUrl) {
1022
// same heading are grouped.
1023
const cratesGroupedByHeading = new Map();
1024
for (const entry of window.ALL_CRATES) {
1025
- const heading = entry.h;
+ const heading = entry.h || "";
1026
const crateName = entry.c;
1027
let group = cratesGroupedByHeading.get(heading);
1028
if (group === undefined) {
src/librustdoc/html/static/js/rustdoc.d.ts
@@ -357,7 +357,7 @@ declare namespace rustdoc {
357
*
358
* May be empty to specify the first, primary heading.
359
*/
360
- h: string,
+ h?: string,
361
/** Crate name. */
362
c: string,
363
}
0 commit comments