Skip to content

rustdoc links to primitives hardcode /nightly #77775

Closed

Description

I tried this code on the stable channel:

pub fn f() -> bool {
    true
}

I expected to see this happen: Rustdoc links bool to https://doc.rust-lang.org/std/primitive.bool.html

Instead, this happened: Rustdoc links bool to https://doc.rust-lang.org/nightly/std/primitive.bool.html

This also affects intra-doc links.

Meta

rustdoc --version: rustdoc 1.47.0 (18bf6b4f0 2020-10-07)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions