diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-01-17 05:25:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-17 05:25:22 +0100 |
| commit | b90f62988d06421a4e5fdd63ca625d47aac130a0 (patch) | |
| tree | ffec19974b34160234d3cf4141c43c2b2635e439 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 6b49435480ea9a6d8bbd7fd2acf7b3aa6607577c (diff) | |
| parent | 3a3f70c94e280cbd8354874438643d15ca6ef319 (diff) | |
| download | rust-b90f62988d06421a4e5fdd63ca625d47aac130a0.tar.gz rust-b90f62988d06421a4e5fdd63ca625d47aac130a0.zip | |
Rollup merge of #106869 - notriddle:notriddle/item-decl-pre-rust, r=GuillaumeGomez
rustdoc: remove redundant item kind class from `.item-decl > pre`
This class originated in the very first commit of `rustdoc_ng`, and was used to add a color border around the item decl based on its kind.
https://github.com/rust-lang/rust/blob/4fd061c426902b0904c65e64a3780b21f9ab3afb/src/rustdoc_ng/html/static/main.css#L102-L106
The item decl no longer has a border, and there aren't any kind-specific styles in modern rustdoc's rendering of this UI item.
Most of this PR is updating test cases so that they use `item-decl` to find the `<pre>` tag instead of relying on the fact that the class name had `rust {kind}` in it while other `<pre>` tags only had class `rust`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
