Skip to content

Commit

Permalink
remove outdated #warning/todo
Browse files Browse the repository at this point in the history
- this library implements the same "hashids" standard algorithm used in other languages so this is not a necessary warning
  • Loading branch information
manigandham committed Mar 26, 2022
1 parent 997c5fe commit b491b88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Hashids.net/Hashids.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ private static void InitCharArrays(string alphabet, string seps, ReadOnlySpan<ch

if (alphabetChars.Length < (MIN_ALPHABET_LENGTH - 6))
{
#warning TODO: What should the minimum length be after removing chars in `sep`?
throw new ArgumentException($"Alphabet must contain at least {MIN_ALPHABET_LENGTH:N0} unique characters that are also not present in .", paramName: nameof(alphabet));
}

Expand Down

0 comments on commit b491b88

Please sign in to comment.