Tiny code standardization
This commit is contained in:
1 parent
2dc6d74b0b
commit
f3381942bc
1 file changed
+1
-1
@@ -494,7 +494,7 @@ namespace Recyclable.Collections
|
||||
Span<T[]> memoryBlocksSpan = new(_memoryBlocks);
|
||||
int memoryBlocksCount = memoryBlocksSpan.Length;
|
||||
ArrayPool<T> blockArrayPool = _blockArrayPool;
|
||||
for (var toRemoveIdx = 0; toRemoveIdx < memoryBlocksCount; toRemoveIdx++)
|
||||
for (int toRemoveIdx = 0; toRemoveIdx < memoryBlocksCount; toRemoveIdx++)
|
||||
{
|
||||
blockArrayPool.Return(memoryBlocksSpan[toRemoveIdx]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user