Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
egorbot committed Nov 17, 2024
1 parent a4ce430 commit c4217fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ static int TryEncodeScalarAsHex(object @this, uint scalarValue, Span<char> desti

// It's more efficient to write 4 chars at a time instead of 1 char.
// The '0' at the end will be overwritten.
if ("&#x0"u8.TryCopyTo(destination))
if ("&#x0".TryCopyTo(destination))
{
Debug.Fail("We should've had enough room to write 4 chars.");
}
Expand Down

0 comments on commit c4217fe

Please sign in to comment.