Skip to content

broken reference to from_utf8_mut in the String documentation #55666

@thejh

Description

@thejh

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

Metadata

Metadata

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions