about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-08-18 19:55:03 +0200
committerGitHub <noreply@github.com>2021-08-18 19:55:03 +0200
commit75c6a9190d5b9793e3cadf5c81b8aa962d4455e7 (patch)
tree7a0c926b5507197df6c3211340faf0645f4b8692 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentfbaa4a2a176731538093d2d951d340c47181ab08 (diff)
parent7ce7fe7176ce156973818e6c80811fe52f0908c6 (diff)
downloadrust-75c6a9190d5b9793e3cadf5c81b8aa962d4455e7.tar.gz
rust-75c6a9190d5b9793e3cadf5c81b8aa962d4455e7.zip
Rollup merge of #88111 - GuillaumeGomez:background-color-jump-to-def, r=jhpratt
Add background-color on clickable definitions in source code

Someone suggested to add a decoration on clickable elements in the source code pages:

![Screenshot from 2021-08-17 14-49-39](https://user-images.githubusercontent.com/3050060/129728911-def74f9e-50e2-40d2-b512-e23f1b3d0409.png)
![Screenshot from 2021-08-17 14-49-47](https://user-images.githubusercontent.com/3050060/129728925-14aec500-82ff-4336-955a-4173c769deeb.png)
![Screenshot from 2021-08-17 14-49-52](https://user-images.githubusercontent.com/3050060/129728927-a8a89d7a-e837-4ff5-b094-35be23629d14.png)

The idea is to not disturb the reading while telling the reader "you can click on this one", which is why it's not a text decoration.

What do you think `@rust-lang/rustdoc` ?

r? `@Nemo157`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions