mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-31 15:31:53 +08:00
Consume vec instead of draining
This commit is contained in:
parent
be411435f5
commit
cb99ac6f7e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user