Auto merge of #34477 - ollie27:patch-1, r=GuillaumeGomez
rustdoc: Fix search result layout for enum variants and struct fields This was broken in #34234. For example: [before](https://doc.rust-lang.org/nightly/std/?search=cow%3A%3Aborrowed) [after](https://ollie27.github.io/rust_doc_test/std/?search=cow%3A%3Aborrowed) [before](https://doc.rust-lang.org/nightly/std/?search=range%3A%3Astart) [after](https://ollie27.github.io/rust_doc_test/std/?search=range%3A%3Astart) cc @GuillaumeGomez
This commit is contained in:
commit
126af085be
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ span.since {
|
|||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.variant, .structfield {
|
||||
.enum .variant, .struct .structfield {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue