Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of Unicode serial numbers
Rust str are indexed by byte, so doing .take().count() is incorrect since Unicode values are often multiple bytes. This fixes it and adds tests for the edge cases.
- Loading branch information