Remove the now unnecessary extension method

This commit is contained in:
Tyrrrz
2025-07-01 19:02:48 +03:00
parent 9e685a0375
commit 187befcf11

View File

@@ -7,9 +7,6 @@ namespace DiscordChatExporter.Core.Utils.Extensions;
public static class SuperpowerExtensions
{
public static TextParser<string> Text(this TextParser<char[]> parser) =>
parser.Select(chars => new string(chars));
public static TextParser<T> Token<T>(this TextParser<T> parser) =>
parser.Between(Character.WhiteSpace.IgnoreMany(), Character.WhiteSpace.IgnoreMany());