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

Offline documentation incorrectly links primitives to online one #89625

Closed
MultisampledNight opened this issue Oct 7, 2021 · 1 comment
Closed

Comments

@MultisampledNight
Copy link
Contributor

MultisampledNight commented Oct 7, 2021

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

@jyn514
Copy link
Member

jyn514 commented Oct 7, 2021

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

@jyn514 jyn514 closed this as completed Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants