about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-07 18:39:03 +0100
committerGitHub <noreply@github.com>2022-03-07 18:39:03 +0100
commit77562f2350c4dbe2d19a253f70046fb3edd9baa6 (patch)
tree063d5758a165688040a6314398ffe8f2ac48f75d /compiler/rustc_codegen_llvm/src
parent9d7166c66f7d2cd7d2e51abae3e42a520fb359e0 (diff)
parentf23d6d3a47c15bc0fc3fbf2abdd318c3a2c09c7c (diff)
downloadrust-77562f2350c4dbe2d19a253f70046fb3edd9baa6.tar.gz
rust-77562f2350c4dbe2d19a253f70046fb3edd9baa6.zip
Rollup merge of #94696 - GuillaumeGomez:align-line-numbers-right, r=notriddle
Remove whitespaces and use CSS to align line numbers to the right instead

Instead of generating whitespaces to create padding, we simply use the CSS rule: `text-align: right`.

Nice side-effect: it reduces the generated HTML size from **75.004** to **74.828** (MegaBytes) on the std source pages (it's not much but it's always a nice plus :laughing: ).

There are no changes in the generated UI.

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