Skip to content

Clarify that <str>::from_utf8* methods are aliases to core::str::from_utf8* functions #141079

Closed
@sorairolake

Description

@sorairolake

Location

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 and core::str::from_utf8* functions are the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions