Skip to content

Commit 250082b

Browse files
committed
fix compiler error in runner
1 parent 7e270c3 commit 250082b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Frent/Serialization/StreamJsonReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public bool Read()
5454

5555
_currentBuffer = ArrayPool<byte>.Shared.Rent(_currentBuffer.Length << 1);
5656

57-
oldBuffer.CopyTo(_currentBuffer);
57+
oldBuffer.CopyTo(_currentBuffer.AsSpan());
5858

5959
ArrayPool<byte>.Shared.Return(oldBuffer);
6060
}

0 commit comments

Comments
 (0)