Byte-Unit icon indicating copy to clipboard operation
Byte-Unit copied to clipboard

Simplify iteration, and remove unsafe

Open alexmaco opened this issue 4 years ago • 0 comments

Use builtin char iteration from core library, instead of manually iterating bytes and then using unsafe to attempt to extract utf-8 chars.

This is safer, simpler, and just as fast.

alexmaco avatar Feb 14 '21 16:02 alexmaco