Skip to content

Commit

Permalink
Use utf-8 literal
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcarbon committed Jan 30, 2024
1 parent cb9d2cb commit 5160f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MimeKit/Utils/ParseUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public static bool TryParseDomain (byte[] text, ref int index, int endIndex, Rea
return TryParseDotAtom (text, ref index, endIndex, sentinels, throwOnError, "domain", out domain);
}

static ReadOnlySpan<byte> GreaterThanOrAt => new[] { (byte) '>', (byte) '@' };
static ReadOnlySpan<byte> GreaterThanOrAt => ">@"u8;

public static bool TryParseMsgId (byte[] text, ref int index, int endIndex, bool requireAngleAddr, bool throwOnError, out string msgid)
{
Expand Down

0 comments on commit 5160f5b

Please sign in to comment.