Clarify that <str>::from_utf8*
methods are aliases to core::str::from_utf8*
functions
#141079
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
Location
<str>::from_utf8
<str>::from_utf8_mut
<str>::from_utf8_unchecked
<str>::from_utf8_unchecked_mut
Summary
These methods are aliases to
core::str::from_utf8*
functions.So I think it would be better to mention this as follows:
/// This is an alias to [`core::str::from_utf8`].
This also makes it more clear that the results of
<str>::from_utf8*
methods andcore::str::from_utf8*
functions are the same.The text was updated successfully, but these errors were encountered: