Skip to content

Commit 1b3382f

Browse files
Fix implementors generation as well
1 parent d65c863 commit 1b3382f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/librustdoc/html/static/main.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,9 +1791,12 @@
17911791
x[k].setAttribute('href', rootPath + href);
17921792
}
17931793
}
1794-
var li = document.createElement('li');
1795-
li.appendChild(code);
1796-
list.appendChild(li);
1794+
var display = document.createElement('h3');
1795+
addClass(display, "impl");
1796+
display.innerHTML = '<span class="in-band"><table class="table-display"><tbody>\
1797+
<tr><td><code>' + code.outerHTML + '</code></td><td></td></tr></tbody></table>\
1798+
</span>';
1799+
list.appendChild(display);
17971800
}
17981801
}
17991802
};

0 commit comments

Comments
 (0)