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 distinction between "regular" and "collapsed" docs #91072

Closed
wants to merge 5 commits into from

Commits on Nov 20, 2021

  1. rustdoc: Make doc_value() dispatch to collapsed_doc_value()

    They seem to be very similar; I think they don't need to be separate.
    camelid committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    7be69ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da26b51 View commit details
    Browse the repository at this point in the history
  3. rustdoc: Remove {Crate,SharedContext}.collapsed

    They're unneeded now that `doc_value()` and `collapsed_doc_value()` are
    the same.
    camelid committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    22dc5c4 View commit details
    Browse the repository at this point in the history
  4. Write code directly instead of using FromIterator

    The FromIterator was only used once and made the code much harder to
    understand. The types don't make sense until you realize there's a
    custom FromIterator impl.
    camelid committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    8be135b View commit details
    Browse the repository at this point in the history
  5. Remove outdated comment

    camelid committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    1891548 View commit details
    Browse the repository at this point in the history