fix: incorrect utf8 in splitAux
This commit is contained in:
parent
aa60791db3
commit
fd72fdf8f8
1 changed files with 2 additions and 2 deletions
|
|
@ -236,8 +236,8 @@ where
|
|||
else
|
||||
have := Nat.sub_lt_sub_left (Nat.gt_of_not_le (mt decide_eq_true h)) (lt_next s _)
|
||||
if p (s.get i) then
|
||||
let i := s.next i
|
||||
splitAux s p i i (s.extract b { byteIdx := i.byteIdx - 1 } :: r)
|
||||
let i' := s.next i
|
||||
splitAux s p i' i' (s.extract b i :: r)
|
||||
else
|
||||
splitAux s p b (s.next i) r
|
||||
termination_by _ => s.endPos.1 - i.1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue