]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #90156 - jsha:less-border-bottom-2, r=GuillaumeGomez
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 30 Oct 2021 18:30:25 +0000 (20:30 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Oct 2021 18:30:25 +0000 (20:30 +0200)
commitec83b95ab97d2ca972ede3b36345173cd97a63a5
tree5aeb63938115e5a79cb2c73d115b25cc41b35663
parent9f13083542cb2b9fce83ed8a50238e4a6386820f
parenta65c98fefb78cddee955b87214732b0de30a769f
Rollup merge of #90156 - jsha:less-border-bottom-2, r=GuillaumeGomez

Remove underlines from non-top docblocks.

We still had a number of places where underlined section headings would
show up, like under Implementations.

Follow-up to #89506 (thanks `@yaymukund!)` and #90036. Related to #59829.

r? `@camelid`

Demo:

[Before](https://doc.rust-lang.org/nightly/std/string/struct.String.html#trait-implementations):

[![image](https://user-images.githubusercontent.com/220205/138402555-b0c0a3ea-ff50-4aad-bb74-6f9e57323807.png)](https://jacob.hoffman-andrews.com/rust/less-border-bottom-2/std/string/struct.String.html#trait-implementations)

[After](https://jacob.hoffman-andrews.com/rust/less-border-bottom-2/std/string/struct.String.html#trait-implementations):

[![image](https://user-images.githubusercontent.com/220205/138402669-d0835bd9-8813-4f0c-8697-f86e9759acec.png)](https://jacob.hoffman-andrews.com/rust/less-border-bottom-2/std/string/struct.String.html#trait-implementations)