about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-03-04 21:56:27 +0100
committerGitHub <noreply@github.com>2021-03-04 21:56:27 +0100
commit2f28361936f4709043a447d48fd3b8150ead868f (patch)
treecbd18bda38c45f7e10b7debc4e5133f2b7569ce3 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent95bbc7ef33ae8436a058a51a2ec8c5c4cc6da8d6 (diff)
parentafb8220d0af762189168a0f0b4f5c385f5a630e5 (diff)
downloadrust-2f28361936f4709043a447d48fd3b8150ead868f.tar.gz
rust-2f28361936f4709043a447d48fd3b8150ead868f.zip
Rollup merge of #82088 - Nicholas-Baron:shorten_html_render, r=GuillaumeGomez
Shorten html::render

The `mod.rs` for librustdoc's `html::render` was over 3,000 lines. This PR reduces it to around 2,300 by
1. Moving `Context` and associated `impl`s to a separate file
2. Moving the `print_item` function and its helpers to a separate file
3. Moving `write_shared` and `write_minify` to their own file

Related to issue #60302.
Edit 1: `SharedContext` and related `impl`s is only 72 lines and so will not be moved.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions