Tiny cleanup

This commit is contained in:
mlemanczyk committed 2023-04-08 01:15:27 +02:00
1 parent dead323502
commit b7af797dd7
1 file changed
+1
+1
View File
@@ -69,6 +69,7 @@ namespace Recyclable.Collections
: Math.Min(nextItemIndex, blockSize - targetItemIndex);
Array.Copy(memoryBlocks[sourceBlockIndex], sourceItemIndex, memoryBlocks[targetBlockIndex], targetItemIndex, toCopy);
// We didn't have enough room in the target array block. There are still items in the source array block to copy.
if (sourceItemIndex + toCopy < blockSize)
{