Open sarah-ek opened 1 year ago
Potentially related: https://github.com/unicode-rs/unicode-segmentation/issues/115
The chunking stuff is buggy around some states. I don't have the time to investigate this right now but happy to help someone who wants to.
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8fe7258129406b137529559157edd542
the last assert panics and says that it expected
Ok(Some(7))
, when instead it should beOk(Some(11))