Skip to content

Doc links to std are broken #10208

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

Closed
HKalbasi opened this issue Sep 11, 2021 · 1 comment
Closed

Doc links to std are broken #10208

HKalbasi opened this issue Sep 11, 2021 · 1 comment

Comments

@HKalbasi
Copy link
Member

When you hover on something in std, like String:

The String type is the most common string type that has ownership over the contents of the string. It has a close relationship with its borrowed counterpart, the primitive str.

There is a link to str:
https://docs.rs/alloc/*/alloc/str/index.html

Which is broken and it should be:
https://doc.rust-lang.org/std/primitive.str.html

It is not specific to primitives and every link to std documentation is affected, another example is extend:
https://docs.rs/core/*/core/iter/traits/collect/trait.Extend.html

But it should be:
https://doc.rust-lang.org/std/iter/trait.Extend.html

@bjorn3
Copy link
Member

bjorn3 commented Sep 11, 2021

Duplicate of #10082

@bjorn3 bjorn3 marked this as a duplicate of #10082 Sep 11, 2021
@bjorn3 bjorn3 closed this as completed Sep 11, 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