File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
src/librustdoc/html/static/js Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -1591,9 +1591,6 @@ function loadDatabase(hooks) {
15911591 // if we want to do them in order)
15921592 for ( const { node, len} of current_layer ) {
15931593 const tree = await node ;
1594- if ( tree . leaves_whole . isEmpty ( ) ) {
1595- continue ;
1596- }
15971594 const length = len + tree . data . length ;
15981595 if ( minLength === null || length < minLength ) {
15991596 minLength = length ;
@@ -1618,7 +1615,9 @@ function loadDatabase(hooks) {
16181615 if ( minLength !== null && backlogEntry . length > minLength ) {
16191616 break ;
16201617 }
1621- yield backlogEntry . bitmap ;
1618+ if ( ! backlogEntry . bitmap . isEmpty ( ) ) {
1619+ yield backlogEntry . bitmap ;
1620+ }
16221621 backlog [ 0 ] = backlog [ backlog . length - 1 ] ;
16231622 backlog . length -= 1 ;
16241623 let backlogSlot = 0 ;
Original file line number Diff line number Diff line change 1+ // exact-check
2+
3+ const EXPECTED = [
4+ {
5+ 'query' : 'Entry' ,
6+ 'others' : [
7+ { 'path' : 'ordering' , 'name' : 'Entry1a' } ,
8+ { 'path' : 'ordering' , 'name' : 'Entry1b' } ,
9+ { 'path' : 'ordering' , 'name' : 'Entry2ab' } ,
10+ ] ,
11+ } ,
12+ ] ;
Original file line number Diff line number Diff line change 1+ pub struct Entry1a ;
2+ pub struct Entry1b ;
3+ pub struct Entry2ab ;
You can’t perform that action at this time.
0 commit comments