Skip to content

Offline documentation incorrectly links primitives to online one #89625

Closed
@MultisampledNight

Description

@MultisampledNight
Contributor

The front page of std, opened with rustup doc std, lists this paragraph:

Note the documentation for the primitives str and [T] (also called ‘slice’). Many method calls on String and Vec<T> are actually calls to methods on str and [T] respectively, via deref coercions.

While clicking the links of String and Vec<T> correctly lead to their offline sites as well, str and [T] link to https://doc.rust-lang.org/1.55.0/std/ instead, which isn't available without an internet connection!

I've observed this on stable (1.55.0), likely a regression of #79630.

@jyn514 @GuillaumeGomez

Activity

jyn514

jyn514 commented on Oct 7, 2021

@jyn514
Member

Duplicate of #79630, #87073 hasn't hit stable yet.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jyn514@MultisampledNight

        Issue actions

          Offline documentation incorrectly links primitives to online one · Issue #89625 · rust-lang/rust