unicode-rs / unicode-segmentation

Grapheme Cluster and Word boundaries according to UAX#29 rules
https://unicode-rs.github.io/unicode-segmentation
Other
571 stars 56 forks source link

Implement Debug on all public structs #131

Closed syvb closed 8 months ago

syvb commented 8 months ago

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 #95.