This commit is contained in:
Jared Ramirez 2021-02-14 19:00:56 -08:00
parent f3d9c2f2bb
commit 2159d94b87
2 changed files with 6 additions and 7 deletions

View file

@ -990,7 +990,6 @@ pub const Utf8ByteProblem = packed enum(u8) {
InvalidStartByte = 3, InvalidStartByte = 3,
OverlongEncoding = 4, OverlongEncoding = 4,
UnexpectedEndOfSequence = 5, UnexpectedEndOfSequence = 5,
}; };
pub const ValidateUtf8BytesResult = extern struct { pub const ValidateUtf8BytesResult = extern struct {
is_ok: bool, byte_index: usize, problem_code: Utf8ByteProblem is_ok: bool, byte_index: usize, problem_code: Utf8ByteProblem