Skip to content

CharOffsets should impl Iterator<(char, uint)> instead of Iterator<(uint, char)> #15798

@liigo

Description

@liigo

to match with its name, Char+Offset.

(Another option is rename CharOffsets to OffsetChars, and rename StrSlice::char_indices to index_chars.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions