Skip to content

Please add a Debug implementation for Graphemes and so on #95

Closed
@ChaiTRex

Description

@ChaiTRex

The std::str::Chars iterator has a nice Debug output:

fn main() {
    let mut chars = "abc".chars();
    println!("{:?}", chars);
    chars.next();
    println!("{:?}", chars);
}

produces:

Chars(['a', 'b', 'c'])
Chars(['b', 'c'])

It would be nice to see unicode_segmentation::Graphemes and so forth implement a nice Debug output to display what they're going to be producing in the future.

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