mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Consume vec instead of draining
This commit is contained in:
parent
be411435f5
commit
cb99ac6f7e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue