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] Switch to Symbol for item.name #80044

Merged
merged 2 commits into from
Dec 15, 2020
Merged

Commits on Dec 15, 2020

  1. Remove unnecessary unwrap_or

    This was always questionable, and removing it doesn't fail any tests, so
    I think this was not affecting the behavior. It dates all the way back
    to the very first commit of rustdoc: 268f3f0
    jyn514 committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    89fc503 View commit details
    Browse the repository at this point in the history
  2. Switch to Symbol for item.name

    This decreases the size of `Item` from 680 to 616 bytes. It also does a
    lot less work since it no longer has to copy as much.
    jyn514 committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    a16904f View commit details
    Browse the repository at this point in the history