- Notifications
You must be signed in to change notification settings - Fork65
Open
Description
Hello,
Inprev_boundary we have this check (for the following unwrap not to panic):
ifself.offset == chunk_start{returnErr(GraphemeIncomplete::PrevChunk);}
I suggest this innext_boundary() (for the same reason):
ifself.offset == chunk_start + chunk.len(){returnErr(GraphemeIncomplete::NextChunk);}
Thank you!
Metadata
Metadata
Assignees
Labels
No labels