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 reference to from_utf8_mut in the String documentation #55666

Closed
thejh opened this issue Nov 4, 2018 · 2 comments
Closed

broken reference to from_utf8_mut in the String documentation #55666

thejh opened this issue Nov 4, 2018 · 2 comments
Assignees
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug.

Comments

@thejh
Copy link

thejh commented Nov 4, 2018

https://doc.rust-lang.org/std/string/struct.String.html says:

To convert the mutable byte slice back into a mutable string slice, use the str::from_utf8_mut function.

with a link to https://doc.rust-lang.org/std/string/str/fn.from_utf8_mut.html . The link is dead and leads to a broken error page with a search button that leads back to the same page with more garbage in the search field. After clicking the "search" field a couple times, the pre-filled text I see is:

index html?search=index%20html%3Fsearch%3Dindex%2520html%253Fsearch%253Dindex%252520html%25253Fsearch%25253Dindex%25252520html%2525253Fsearch%2525253Dfn%2525252520from_utf8_mut
@GuillaumeGomez GuillaumeGomez self-assigned this Nov 4, 2018
@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Nov 4, 2018
@frewsxcv frewsxcv added the C-bug Category: This is a bug. label Nov 4, 2018
@QuietMisdreavus QuietMisdreavus added A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools and removed T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 7, 2018
@ollie27
Copy link
Member

ollie27 commented Nov 7, 2018

Good find, but this is duplicate of #32129.

@steveklabnik
Copy link
Member

closing as duplicate, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

6 participants