Uh oh!
There was an error while loading. Please reload this page.
Shorten html::render - #82088
Conversation
rust-highfive
commented
Feb 14, 2021
r? @ollie27 (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
0862e34 to
206c443Comparejyn514
commented
Feb 16, 2021
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
989fadb to
5273ca8Compare
This comment has been minimized.
This comment has been minimized.
5273ca8 to
a899342Compare
This comment has been minimized.
This comment has been minimized.
a899342 to
c27b09aCompare
This comment has been minimized.
This comment has been minimized.
jyn514
commented
Feb 21, 2021
@GuillaumeGomez this bitrots quickly, it would be nice to review it soon if possible. |
c27b09a to
aee0f7dCompare
This comment has been minimized.
This comment has been minimized.
Nicholas-Baron
commented
Feb 21, 2021
The warning is regarding a |
This comment has been minimized.
This comment has been minimized.
aee0f7d to
849c690Compare
This comment has been minimized.
This comment has been minimized.
849c690 to
5286284Compare
This comment has been minimized.
This comment has been minimized.
5286284 to
75ea154Compare
This comment has been minimized.
This comment has been minimized.
bors
commented
Mar 4, 2021
☔ The latest upstream changes (presumably #82756) made this pull request unmergeable. Please resolve the merge conflicts. |
jyn514
commented
Mar 4, 2021
@bors delegate=Nicholas-Baron This bitrots pretty quickly, so feel free to approve it yourself once you've fixed the conflict. Please use |
bors
commented
Mar 4, 2021
✌️ @Nicholas-Baron can now approve this pull request |
Due to a rebase, some edits were needed in the mod file.
c34e695 to
afb8220CompareNicholas-Baron
commented
Mar 4, 2021
@bors: r=GuillaumeGomez |
bors
commented
Mar 4, 2021
📌 Commit afb8220 has been approved by |
… 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 rust-lang#60302. Edit 1: `SharedContext` and related `impl`s is only 72 lines and so will not be moved.
… 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 rust-lang#60302. Edit 1: `SharedContext` and related `impl`s is only 72 lines and so will not be moved.
…laumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#76716 (Don't warn for `missing_doc_examples` when item is #[doc(hidden)]) - rust-lang#82088 (Shorten html::render) - rust-lang#82690 (Update rustdoc documentation) - rust-lang#82752 (Add a regression test for issue-81712) - rust-lang#82765 (Fix polymorphization ICE on associated types in trait decls using const generics in bounds) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
… 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 rust-lang#60302. Edit 1: `SharedContext` and related `impl`s is only 72 lines and so will not be moved.
The
mod.rsfor librustdoc'shtml::renderwas over 3,000 lines. This PR reduces it to around 2,300 byContextand associatedimpls to a separate fileprint_itemfunction and its helpers to a separate filewrite_sharedandwrite_minifyto their own fileRelated to issue #60302.
Edit 1:
SharedContextand relatedimpls is only 72 lines and so will not be moved.