diff options
author | 2022-12-06 21:46:20 -0800 | |
---|---|---|
committer | 2022-12-06 21:46:20 -0800 | |
commit | d9306c2681c11c0b9d9fabe1ba246041244554cd (patch) | |
tree | 1cdaabd5db84c494bbca0c37078a6546e9b88902 /src/string_immutable.zig | |
parent | aa17f97d13c1b82261396daeb97ef9799d112060 (diff) | |
download | bun-d9306c2681c11c0b9d9fabe1ba246041244554cd.tar.gz bun-d9306c2681c11c0b9d9fabe1ba246041244554cd.tar.zst bun-d9306c2681c11c0b9d9fabe1ba246041244554cd.zip |
first_non_ascii != offset
Diffstat (limited to '')
-rw-r--r-- | src/string_immutable.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 2967869ff..646917840 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -980,7 +980,6 @@ pub fn toUTF16Alloc(allocator: std.mem.Allocator, bytes: []const u8, comptime fa const offset = @truncate(u32, validated.count); const trimmed = bun.simdutf.trim.utf8(bytes[offset..]); - first_non_ascii = offset; if (trimmed.len == 0) break :use_simdutf; |