]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #98671 - GuillaumeGomez:source-sidebar-fixes, r=notriddle
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 30 Jun 2022 17:55:52 +0000 (19:55 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Jun 2022 17:55:52 +0000 (19:55 +0200)
commitb1403d6b7880db79529cd3adc5ffc3b0b10d6f6a
tree009cf60c09764cdef21328a113f4b649d34ec809
parent5cd41d7be8f1af027d2d3e38f7ac5d278bf5e0be
parent9a1f52d7fd78f3dc26b49d4490e4e8004f590fc3
Rollup merge of #98671 - GuillaumeGomez:source-sidebar-fixes, r=notriddle

Fix source sidebar bugs

This PR fixes the following two bugs:

![Screenshot from 2022-06-29 14-39-58](https://user-images.githubusercontent.com/3050060/176449070-3e3762da-2bfe-4acf-8eb0-34f6eb4c94ed.png)
![Screenshot from 2022-06-29 15-05-09](https://user-images.githubusercontent.com/3050060/176449073-b164820b-bd71-4b1a-990c-bba4e5fce196.png)

I added regression tests to prevent them to happen again.

I think we should backport it to beta as well.

You can test it [here](https://rustdoc.crud.net/imperio/source-sidebar-fixes/src/std/lib.rs.html).

cc ```@jsha```
r? ```@notriddle```