]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #95684 - GuillaumeGomez:fix-item-info-overflow, r=notriddle
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 6 Apr 2022 01:39:08 +0000 (03:39 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 01:39:08 +0000 (03:39 +0200)
commit84e1aa2d59f6e772c86a007a6817312e729ff2b6
tree41fb7dd566c61cbcfb5aafb829df43330e4f21d2
parent823bf7618a32dfce8e72213a404063878991bee2
parent41b0247ceca3c3cff653a03bcf041701c69fb76b
Rollup merge of #95684 - GuillaumeGomez:fix-item-info-overflow, r=notriddle

rustdoc: Fix item info display overflow

I came across this issue when reading local `Iterator` docs (reproduced in this screenshot):

![Screenshot from 2022-04-05 17-45-13](https://user-images.githubusercontent.com/3050060/161798150-769ee838-4768-4df8-9d34-b02eb8104eed.png)

The problem comes from the fact that `span` isn't `display: block` by default. Since `item-info` was already present on `<div>` in other places, I moved the last one to `div` as well.

r? `@notriddle`