diff options
Diffstat (limited to 'src/string_immutable.zig')
-rw-r--r-- | src/string_immutable.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 1483729fa..95bd8ee4d 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -1335,7 +1335,7 @@ pub inline fn wtf8ByteSequenceLengthWithInvalid(first_byte: u8) u3 { else if ((first_byte & 0xF8) == 0xF0) @as(u3, 4) else - @as(u3, 0), + @as(u3, 1), }; } |