Skip to content

Commit

Permalink
fix: Code consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Jan 2, 2025
1 parent ffc0a45 commit 123c85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LinkDotNet.StringBuilder/ValueStringBuilder.Append.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void AppendLine(scoped ReadOnlySpan<char> str)
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Span<char> AppendSpan(int length)
{
int origPos = bufferPosition;
var origPos = bufferPosition;
if (origPos > buffer.Length - length)
{
Grow(length);
Expand Down

0 comments on commit 123c85d

Please sign in to comment.