Skip to content

Provide a trait for char slices #91

@owickstrom

Description

@owickstrom

It seems the str trait and implementation are implemented in terms of folding an iterator of chars. Would it be possible to also expose a trait/impl for calculating the width of &[char]? That's the representation I have and a simple sum over char widths doesn't seem correct, AFAICT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions