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

broken links in docs for String #44947

Closed
lorepozo opened this issue Sep 30, 2017 · 1 comment
Closed

broken links in docs for String #44947

lorepozo opened this issue Sep 30, 2017 · 1 comment

Comments

@lorepozo
Copy link
Contributor

All String methods which come from the borrowed &str have broken links. e.g. char in std::string::String::chars (which is basically std::str::chars).

I'd fix it myself, but I'm not sure what the approach should be so that both docs pages, for String and for the primitive str, would work. Maybe there's a planned rustdoc feature which could help resolve this?

@steveklabnik
Copy link
Member

This is a duplicate of #32130; thank you for filing! It's a tricky bug, and we're not 100% sure how to solve it yet. https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md will probably fix it, we'll see!

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