Skip to content

rustdoc: Cleanup html::render::Context - #82356

Merged
bors merged 8 commits into
rust-lang:masterfrom
camelid:render-cleanup
Mar 9, 2021
Merged

bors merged 8 commits into
rust-lang:masterfrom
camelid:render-cleanup

Conversation

@camelid

@camelid camelid commented Feb 21, 2021 •

Copy link
Copy Markdown
Member
  • Move most shared fields to SharedContext (except for cache, which
    isn't mutated anyway)
  • Replace a use of Arc with Rc
  • Make a bunch of fields private
  • Add static size assertion for Context
  • Don't share id_map and deref_id_map

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanup Category: PRs that clean code up or issues documenting cleanup. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants