Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc: remove redundant expandSection code from main.js #110162

Merged
merged 1 commit into from
Apr 12, 2023

Commits on Apr 10, 2023

  1. rustdoc: remove redundant expandSection code from main.js

    This functionality is already tested in `hash-item-expansion.goml`,
    and was implemented twice:
    
    * First, in code that ran at load time and at hash change:
      917cdd2
    
    * Later, the hash change event handler was itself run at load time,
      and the code handling both cases diverged in implementation,
      though their behavior still matches pretty well:
      f66a331
    notriddle committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    dd28cfb View commit details
    Browse the repository at this point in the history