diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-16 08:36:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 08:36:13 +0100 |
| commit | 25c3180d15b1865a71f98554503e9d4d2fe1f05d (patch) | |
| tree | cfe19bbb9c10d15d51b9042338521574c98316e1 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | b9d028ae99388b9184ef2b58c4ace9a66e28bee5 (diff) | |
| parent | 155a5535a68c959f511278dc6c21c06cbafca2f8 (diff) | |
| download | rust-25c3180d15b1865a71f98554503e9d4d2fe1f05d.tar.gz rust-25c3180d15b1865a71f98554503e9d4d2fe1f05d.zip | |
Rollup merge of #104425 - notriddle:notriddle/main-heading-justify-content, r=GuillaumeGomez
rustdoc: remove no-op CSS `.main-header { justify-content }`
This rule was added in 152e8889052adaaa6c12652486292be34059713c to push the out-of-band content to the right while allowing it to line wrap when it got too big. The idea was that the justification rule would fill the space between the `<h1>` element and the `<div class="out-of-band">` element.
A later commit, 3cb03cb34247383ffb67a017ae70134741e8c4da, flattened the in-band element into the `<h1>`, copying the `flex-grow` rule. This means the `<h1>` element now grows to fill the space, so there's no need to justify-content any more.
This commit also adds a test case for this.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
