-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add a Debug
implementation for Graphemes
and so on
#95
Comments
timClicks
added a commit
to timClicks/unicode-segmentation
that referenced
this issue
Jun 2, 2021
One of the complications with I've submitted #98 anyway. Let's see what the maintainers think |
Manishearth
added a commit
that referenced
this issue
Jun 2, 2021
Implement Debug for Graphemes (#95)
Yeah, we could improve the debug impl but for now this one is fine |
syvb
added a commit
to syvb/unicode-segmentation
that referenced
this issue
Feb 21, 2024
Some types in this crate don't have Debug implemented, but it's annoying to use a non-Debug type in a struct with Debug derived. I just used the automatic impl from `#[derive(Debug)]` for all of these (although in the future it might be good to have custom implementations for types with complex internals). Closes unicode-rs#95.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
std::str::Chars
iterator has a niceDebug
output:produces:
It would be nice to see
unicode_segmentation::Graphemes
and so forth implement a niceDebug
output to display what they're going to be producing in the future.The text was updated successfully, but these errors were encountered: