diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index d0b8e28..e8f393c 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -92,10 +92,10 @@ namespace Recyclable.Collections ? new T[localInts[requiredBlockCount]][] : memoryBlocksPool.Rent(localInts[requiredBlockCount]); - var newMemoryBlocksSpan = new Span(newMemoryBlocks); + Span newMemoryBlocksSpan = new(newMemoryBlocks); if (localInts[sourceBlockCount] > 0) { - var sourceSpan = new Span(source); + Span sourceSpan = new(source); sourceSpan.CopyTo(newMemoryBlocksSpan); if (localInts[sourceBlockCount] >= RecyclableDefaults.MinPooledArrayLength) {