diff options
author | 2023-08-10 19:58:59 -0700 | |
---|---|---|
committer | 2023-08-10 19:58:59 -0700 | |
commit | 4731a460a2735380ced273caed4cb04b0f5545ba (patch) | |
tree | 44b6f7b83133a5665fd554f7623f818df7449b4f | |
parent | 99af827f25bc051061a07b162b812884d6106a9a (diff) | |
download | bun-4731a460a2735380ced273caed4cb04b0f5545ba.tar.gz bun-4731a460a2735380ced273caed4cb04b0f5545ba.tar.zst bun-4731a460a2735380ced273caed4cb04b0f5545ba.zip |
Remove assertion
-rw-r--r-- | src/string_immutable.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index fd5bcb00a..5ff373f03 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -1483,9 +1483,6 @@ pub fn toUTF8AllocWithType(allocator: std.mem.Allocator, comptime Type: type, ut // add 16 bytes of padding for SIMDUTF var list = try std.ArrayList(u8).initCapacity(allocator, length + 16); list = try convertUTF16ToUTF8(list, Type, utf16); - if (Environment.allow_assert) { - std.debug.assert(list.items.len == length); - } return list.items; } |