Remove, now useless, the WriteMethod enum

This commit is contained in:
Clément Renault 2022-01-25 17:12:12 +01:00 committed by Kerollmops
parent e9c02173cf
commit 51d1e64b23
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
6 changed files with 28 additions and 67 deletions

View file

@ -59,12 +59,6 @@ impl Default for IndexDocumentsMethod {
}
}
#[derive(Debug, Copy, Clone)]
pub enum WriteMethod {
Append,
GetMergePut,
}
pub struct IndexDocuments<'t, 'u, 'i, 'a, F> {
wtxn: &'t mut heed::RwTxn<'i, 'u>,
index: &'i Index,