Tiny code readability improvement

This commit is contained in:
mlemanczyk committed 2023-01-29 21:36:30 +01:00
1 parent 85fcf69c75
commit 32fcc1ad04
1 file changed
+2 -2
+2 -2
View File
@@ -92,10 +92,10 @@ namespace Recyclable.Collections
? new T[localInts[requiredBlockCount]][]
: memoryBlocksPool.Rent(localInts[requiredBlockCount]);
var newMemoryBlocksSpan = new Span<T[]>(newMemoryBlocks);
Span<T[]> newMemoryBlocksSpan = new(newMemoryBlocks);
if (localInts[sourceBlockCount] > 0)
{
var sourceSpan = new Span<T[]>(source);
Span<T[]> sourceSpan = new(source);
sourceSpan.CopyTo(newMemoryBlocksSpan);
if (localInts[sourceBlockCount] >= RecyclableDefaults.MinPooledArrayLength)
{