diff options
author | 2022-03-31 05:10:05 -0700 | |
---|---|---|
committer | 2022-03-31 05:10:05 -0700 | |
commit | 3207ae5570903472fd36452060294db4a53ecc38 (patch) | |
tree | afdda0ad2d0017661f2cff3d05221b4a95f94ea2 | |
parent | 996c1468fa2bcf2df1844423ed5d29615b5e1293 (diff) | |
download | bun-3207ae5570903472fd36452060294db4a53ecc38.tar.gz bun-3207ae5570903472fd36452060294db4a53ecc38.tar.zst bun-3207ae5570903472fd36452060294db4a53ecc38.zip |
Delete unused
-rw-r--r-- | src/string_immutable.zig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 1051f9342..4c7c07eae 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -1322,11 +1322,6 @@ pub inline fn wtf8ByteSequenceLength(first_byte: u8) u3 { }; } -pub fn firstCodePoint(text: []const u8) CodePoint { - const len = wtf8ByteSequenceLength(text[0]); - return decodeWTF8RuneT(text.ptr[0..4], len, CodePoint, 0); -} - /// 0 == invalid pub inline fn wtf8ByteSequenceLengthWithInvalid(first_byte: u8) u3 { return switch (first_byte) { |