Delete unused

This commit is contained in:
Jarred Sumner
2022-03-31 05:10:05 -07:00
parent 996c1468fa
commit 3207ae5570

View File

@@ -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) {