Skip to content

Commit

Permalink
Remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulusParssinen committed May 11, 2024
1 parent 2e050a3 commit 5dd1cbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Utf8StringBuilder Append(ReadOnlySpan<byte> value)
public Utf8StringBuilder Append(byte value)
{
Ensure(1);
_buffer[_length++] = (byte)value;
_buffer[_length++] = value;
return this;
}

Expand Down

0 comments on commit 5dd1cbf

Please sign in to comment.