utf16leToUtf8 -> utf16LeToUtf8 (capital L)
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Successful in 3m11s
aws-zig mach nominated build / build-zig-nominated-mach-latest (push) Successful in 3m13s
aws-zig nightly build / build-zig-nightly (push) Failing after 2m39s

This commit is contained in:
Emil Lerch 2024-07-01 14:18:40 -07:00
parent d84246333c
commit 3e89ec468a
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -2510,7 +2510,7 @@ pub fn unescapeValidString(output: []u8, input: []const u8) !void {
mem.nativeToLittle(u16, firstCodeUnit),
mem.nativeToLittle(u16, secondCodeUnit),
};
if (std.unicode.utf16leToUtf8(output[outIndex..], &utf16le_seq)) |byteCount| {
if (std.unicode.utf16LeToUtf8(output[outIndex..], &utf16le_seq)) |byteCount| {
outIndex += byteCount;
inIndex += 12;
} else |_| {