Moving to heed v0.5.0

This commit is contained in:
Clément Renault 2019-11-04 10:49:27 +01:00
parent 6b326a45d7
commit 2a50e08bb8
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
6 changed files with 18 additions and 18 deletions

View file

@ -77,8 +77,8 @@ pub fn push_documents_addition<D: serde::Serialize>(
Ok(last_update_id)
}
pub fn apply_documents_addition(
writer: &mut heed::RwTxn,
pub fn apply_documents_addition<'a, 'b>(
writer: &'a mut heed::RwTxn<'b>,
main_store: store::Main,
documents_fields_store: store::DocumentsFields,
documents_fields_counts_store: store::DocumentsFieldsCounts,

View file

@ -149,8 +149,8 @@ pub fn next_update_id(
Ok(new_update_id)
}
pub fn update_task(
writer: &mut heed::RwTxn,
pub fn update_task<'a, 'b>(
writer: &'a mut heed::RwTxn<'b>,
index: store::Index,
update_id: u64,
update: Update,