Consume vec instead of draining

This commit is contained in:
Kerollmops 2024-12-04 17:00:22 +01:00
parent be411435f5
commit cb99ac6f7e
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -652,7 +652,7 @@ where
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
if bbbul.is_empty() {
continue;