Skip to content

Commit d089ed1

Browse files
committed
Update DirectoryReplacements_StringBuilder.cs
1 parent 621a50e commit d089ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Verify/Serialization/Scrubbers/DirectoryReplacements_StringBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static void OnCrossChunk(
5959
MatchContext context,
6060
Action<Match> addMatch)
6161
{
62-
Span<char> combinedBuffer = stackalloc char[context.MaxLength * 2];
62+
Span<char> combinedBuffer = stackalloc char[context.MaxLength];
6363

6464
foreach (var pair in context.Pairs)
6565
{

0 commit comments

Comments
 (0)