Open
Description
Context
currently has a .shared
field, which is shared mutable state.
It would be nice if we could redesign the code such that we don't have shared
mutable state.
One idea I have for accomplishing this is passing &mut SharedContext
in
wherever it's needed, instead of getting it out of Context
.
Metadata
Metadata
Assignees
Labels
Category: PRs that clean code up or issues documenting cleanup.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the rustdoc team, which will review and decide on the PR/issue.