From: Guillaume Gomez Date: Sun, 1 Jul 2018 14:11:14 +0000 (+0200) Subject: Fix implementors generation as well X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=1b3382f2b9d1f6137f6415532a01faf55241c6dc;p=rust.git Fix implementors generation as well --- diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 51ed6267829..a3af621a8a4 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -1791,9 +1791,12 @@ x[k].setAttribute('href', rootPath + href); } } - var li = document.createElement('li'); - li.appendChild(code); - list.appendChild(li); + var display = document.createElement('h3'); + addClass(display, "impl"); + display.innerHTML = '\ +
' + code.outerHTML + '
\ +
'; + list.appendChild(display); } } };