about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-11-27 11:46:43 +0100
committerGitHub <noreply@github.com>2021-11-27 11:46:43 +0100
commit55f8b5f559ffa61434d844de94963af3c2258276 (patch)
tree33eb2ff517fa87867897d3dbb194e2fab37b793d /compiler/rustc_mir_transform/src/coverage/query.rs
parent8fb58e5eced05e493a0431ee291ad955fb32cacf (diff)
parentd9afca58081e09c7dd9fa5c874810e05dce18d49 (diff)
downloadrust-55f8b5f559ffa61434d844de94963af3c2258276.tar.gz
rust-55f8b5f559ffa61434d844de94963af3c2258276.zip
Rollup merge of #91062 - jsha:static-file-replace, r=jyn514,GuillaumeGomez
rustdoc: Consolidate static-file replacement mechanism

There were a few places in rustdoc where we would take static JS or CSS and rewrite it at doc generation time to insert values. This consolidates all the CSS instances into one CSS file and replaces the JS examples with data- attributes on the rustdoc-vars div.

Demo https://rustdoc.crud.net/jsha/static-file-replace/test_docs/

r? ``@GuillaumeGomez``
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions