Skip to content

Should std::str::CharRange be public? #9387

Closed
@Kimundi

Description

@Kimundi

Currenty, str exports both CharRange and methods for getting an CharRange at an specific byte index of the string.

However, with Iterators we might not really need those to be public, and if we get an encoding module they might have to migrate to there anyway, as they are specific to the utf8 representation of a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions