forked from rust-lang/rust
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Noticed a potential bug in
eat_while()
: it doesn't account for numb…
…er of UTF8 bytes. Fixed it by inlining it in the two places where the count is used and simplified the logic there.
- Loading branch information
Julian Wollersberger
committed
Oct 9, 2020
1 parent
d890e64
commit bd49ded
Showing
1 changed file
with
14 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters