mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
Remove the useless r#union thing
This commit is contained in:
parent
6460b78e08
commit
ec0a5a9f01
@ -11,7 +11,7 @@ impl IndexScheduler {
|
|||||||
pub(crate) fn all_task_ids(&self, rtxn: &RoTxn) -> Result<RoaringBitmap> {
|
pub(crate) fn all_task_ids(&self, rtxn: &RoTxn) -> Result<RoaringBitmap> {
|
||||||
enum_iterator::all()
|
enum_iterator::all()
|
||||||
.map(|s| self.get_status(&rtxn, s))
|
.map(|s| self.get_status(&rtxn, s))
|
||||||
.r#union()
|
.union()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn last_task_id(&self, rtxn: &RoTxn) -> Result<Option<TaskId>> {
|
pub(crate) fn last_task_id(&self, rtxn: &RoTxn) -> Result<Option<TaskId>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user