Remove the useless r#union thing

This commit is contained in:
Kerollmops 2022-10-19 11:34:05 +02:00 committed by Clément Renault
parent 6460b78e08
commit ec0a5a9f01
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -11,7 +11,7 @@ impl IndexScheduler {
pub(crate) fn all_task_ids(&self, rtxn: &RoTxn) -> Result<RoaringBitmap> {
enum_iterator::all()
.map(|s| self.get_status(&rtxn, s))
.r#union()
.union()
}
pub(crate) fn last_task_id(&self, rtxn: &RoTxn) -> Result<Option<TaskId>> {