We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6620a4 commit cd79c71Copy full SHA for cd79c71
src/librustdoc/html/static/js/search.js
@@ -2060,7 +2060,9 @@ class DocSearch {
2060
// Deprecated and unstable items and items with no description
2061
this.searchIndexDeprecated.set(crate, new RoaringBitmap(crateCorpus.c));
2062
this.searchIndexEmptyDesc.set(crate, new RoaringBitmap(crateCorpus.e));
2063
- this.searchIndexUnstable.set(crate, new RoaringBitmap(crateCorpus.u));
+ if (crateCorpus.u !== undefined && crateCorpus.u !== null) {
2064
+ this.searchIndexUnstable.set(crate, new RoaringBitmap(crateCorpus.u));
2065
+ }
2066
let descIndex = 0;
2067
2068
/**
0 commit comments