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
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
10 changed files with 47 additions and 18 deletions

View file

@ -72,7 +72,7 @@ impl UpdateBuilder {
pub fn clear_documents<'t, 'u, 'i>(
self,
wtxn: &'t mut heed::RwTxn<'u>,
wtxn: &'t mut heed::RwTxn<'i, 'u>,
index: &'i Index,
) -> ClearDocuments<'t, 'u, 'i>
{
@ -81,7 +81,7 @@ impl UpdateBuilder {
pub fn delete_documents<'t, 'u, 'i>(
self,
wtxn: &'t mut heed::RwTxn<'u>,
wtxn: &'t mut heed::RwTxn<'i, 'u>,
index: &'i Index,
) -> anyhow::Result<DeleteDocuments<'t, 'u, 'i>>
{
@ -90,7 +90,7 @@ impl UpdateBuilder {
pub fn index_documents<'t, 'u, 'i>(
self,
wtxn: &'t mut heed::RwTxn<'u>,
wtxn: &'t mut heed::RwTxn<'i, 'u>,
index: &'i Index,
) -> IndexDocuments<'t, 'u, 'i>
{