Skip to content

Commit 2f28361

Browse files
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.
2 parents 95bbc7e + afb8220 commit 2f28361

File tree

5 files changed

+2711
-2644
lines changed

5 files changed

+2711
-2644
lines changed

0 commit comments

Comments
 (0)