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: Don't link to stable/beta docs for primitives #84941

Closed
wants to merge 1 commit into from

Commits on May 5, 2021

  1. Don't link to stable/beta docs for primitives

    This has two issues:
    
    1. The test suite is not set up for links that differ based on the
    channel. This is not a giant deal; it's fixed by
    2a21264.
    2. It's inconsistent with non-primitive types, because libstd uses
    `html_root_url = "rust-lang.org/nightly"`. Fixing this is non-trivial,
    and the usefulness has also been called into question; see
    https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Rustdoc.20unconditionally.20links.20to.20nightly.20libstd.20docs.
    
    To avoid being inconsistent, this reverts linking to beta for now.
    jyn514 committed May 5, 2021
    Configuration menu
    Copy the full SHA
    19d4b04 View commit details
    Browse the repository at this point in the history