about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-03 21:28:32 +0100
committerGitHub <noreply@github.com>2023-12-03 21:28:32 +0100
commit591b84583c4a1b2d8dbbb82e0d7cc8016fc25dd5 (patch)
tree1e2bb0c5adb691117ea25200dce60ff3d5d8d84e /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentdb07cccb1e6b448eb1fec576096b587680e4ff69 (diff)
parent06695ea43614f7d8234f720d0f480cf5926ffffe (diff)
downloadrust-591b84583c4a1b2d8dbbb82e0d7cc8016fc25dd5.tar.gz
rust-591b84583c4a1b2d8dbbb82e0d7cc8016fc25dd5.zip
Rollup merge of #117869 - GuillaumeGomez:comment-highlighting-item-decl, r=notriddle
[rustdoc] Add highlighting for comments in items declaration

Fixes #117555.

So after the discussion in https://github.com/rust-lang/rust/pull/117643, the outcome was that having the comments in the item declaration at the same level (in term of color) as the rest of the code was actually a bit distracting and could be improved.

The current highlighting color for comments is "lighter" than the rest and I think it fits perfectly to improve the current situation. With this, we now have different "levels" which makes it easier to read and filter out what we want when reading the items declaration.

Here's a screenshot:

![image](https://github.com/rust-lang/rust/assets/3050060/dbd98029-e98b-4997-9a89-6b823eaac9a4)

r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions