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: Rename Type::ResolvedPath to Type::Path and don't re-export it #91197

Merged
merged 3 commits into from
Nov 27, 2021

Commits on Nov 25, 2021

  1. Clean up clean re-exports

    This will allow re-exporting only certain enum variants.
    camelid committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    8adb0b6 View commit details
    Browse the repository at this point in the history
  2. Stop re-exporting Type::ResolvedPath

    I would like to rename it to `Type::Path`, but then it can't be
    re-exported since the name would conflict with the `Path` struct.
    Usually enum variants are referred to using their qualified names in
    Rust (and parts of rustdoc already do that with `clean::Type`), so this
    is also more consistent with the language.
    camelid committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    d81deb3 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Rename Type::ResolvedPath to Type::Path

    At last! The new name is shorter, simpler, and consistent with
    `hir::Ty`.
    camelid committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    79c718f View commit details
    Browse the repository at this point in the history