Consume vec instead of draining

This commit is contained in:
Kerollmops
2024-12-04 17:00:22 +01:00
parent be411435f5
commit cb99ac6f7e

View File

@ -652,7 +652,7 @@ where
break; break;
} }
for (key, bbbul) in ordered_buffer.drain(..) { for (key, bbbul) in ordered_buffer {
// Make sure we don't try to work with entries already managed by the spilled // Make sure we don't try to work with entries already managed by the spilled
if bbbul.is_empty() { if bbbul.is_empty() {
continue; continue;