src-script.js: make srcIndex into a parameter instead of a global variable #138467
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
A-technical-debt
Area: Internal cleanup work
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
T-rustdoc-frontend
Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
as far as I can tell, this is only used in
createSrcSidebar
, which is called in generated code like this:instead, we could have generated code like this:
The text was updated successfully, but these errors were encountered: