diff options
Diffstat (limited to 'src/string_immutable.zig')
-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; } |