This commit is contained in:
Irevoire 2022-10-25 10:59:06 +02:00 committed by Clément Renault
parent 9c00b159ba
commit 7ed3f00b1e
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 7 additions and 15 deletions

View file

@ -227,11 +227,6 @@ pub fn snapshot_index_tasks(rtxn: &RoTxn, db: Database<Str, RoaringBitmapCodec>)
}
pub fn snapshot_index_mapper(rtxn: &RoTxn, mapper: &IndexMapper) -> String {
let names = mapper
.indexes(rtxn)
.unwrap()
.into_iter()
.map(|(n, _)| n)
.collect::<Vec<_>>();
let names = mapper.indexes(rtxn).unwrap().into_iter().map(|(n, _)| n).collect::<Vec<_>>();
format!("{names:?}")
}