Commit 7af83dc
committed
Simplify CharIndices.next
Char.len_utf8 is stable since rust-lang#49698, making this a little easier to follow.1 parent dbfe70d commit 7af83dc
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
676 | 670 | | |
677 | 671 | | |
678 | 672 | | |
| |||
0 commit comments