]> git.lizzy.rs Git - rust.git/commit
Fix rustoc item summaries that are headers
authorChristian Duerr <contact@christianduerr.com>
Wed, 29 Nov 2017 23:28:59 +0000 (00:28 +0100)
committerChristian Duerr <contact@christianduerr.com>
Wed, 29 Nov 2017 23:28:59 +0000 (00:28 +0100)
commit91a41069115c70f95509fadae70e67c0effbed93
tree061cb95efaef802e49d4db127146322404fa7b6c
parent0a2e9ade83ff253bb489c63a95b1f499c5e0916f
Fix rustoc item summaries that are headers

Rustoc item summaries that are headers were not displayed at all because
they started with whitespace.

This PR fixes this and now removes the whitespace and then displays the
block.
src/librustdoc/html/render.rs
src/test/rustdoc/issue-46377.rs [new file with mode: 0644]