From 3207ae5570903472fd36452060294db4a53ecc38 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 31 Mar 2022 05:10:05 -0700 Subject: [PATCH] Delete unused --- src/string_immutable.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/string_immutable.zig b/src/string_immutable.zig index 1051f93426..4c7c07eae8 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) {