Update heed to 0.10.0

This commit is contained in:
Clément Renault
2020-10-30 11:42:00 +01:00
parent a30206a665
commit 085d3b9d94
10 changed files with 47 additions and 18 deletions

View File

@ -2,12 +2,12 @@ use roaring::RoaringBitmap;
use crate::Index;
pub struct ClearDocuments<'t, 'u, 'i> {
wtxn: &'t mut heed::RwTxn<'u>,
wtxn: &'t mut heed::RwTxn<'i, 'u>,
index: &'i Index,
}
impl<'t, 'u, 'i> ClearDocuments<'t, 'u, 'i> {
pub fn new(wtxn: &'t mut heed::RwTxn<'u>, index: &'i Index) -> ClearDocuments<'t, 'u, 'i> {
pub fn new(wtxn: &'t mut heed::RwTxn<'i, 'u>, index: &'i Index) -> ClearDocuments<'t, 'u, 'i> {
ClearDocuments { wtxn, index }
}