about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-10-08 22:30:39 +0200
committerGitHub <noreply@github.com>2021-10-08 22:30:39 +0200
commit0cc123cbb3450649141f8551b9c34f405b25e67f (patch)
tree7d7fc49e4add6de956c6589f6a1b212fb823366f /compiler/rustc_codegen_llvm/src
parent32502404e5ed78b927cc9807eac0cf6cd3623450 (diff)
parent8eb3a95afa5ef5a0a10a92e3811237e27003e7b8 (diff)
downloadrust-0cc123cbb3450649141f8551b9c34f405b25e67f.tar.gz
rust-0cc123cbb3450649141f8551b9c34f405b25e67f.zip
Rollup merge of #89538 - notriddle:notriddle/arrow-highlight, r=GuillaumeGomez
Make rustdoc not highlight `->` and `=>` as operators

It was marking them up as `<span class="op">=</span><span class="op">&gt;</span>`,
which is bloaty and wrong (at least, I think `<=` and `=>` should probably be different colors, since they're so different and yet made from the same symbols).

Before:

![image](https://user-images.githubusercontent.com/1593513/135939748-f49b0f9e-6a7d-4d65-935a-e31cdf688a81.png)

After:

![image](https://user-images.githubusercontent.com/1593513/135940063-5ef1f6b1-7e03-4227-b46b-572b063aba05.png)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions