refactor: Change return type to keep consistency with others

This commit is contained in:
Gregory Conrad 2022-11-28 10:02:03 -05:00
parent e0d24104a3
commit d3182f3830

View File

@ -1145,8 +1145,8 @@ impl Index {
}
/// Clears the exact attributes from the store.
pub(crate) fn delete_exact_attributes(&self, txn: &mut RwTxn) -> Result<bool> {
Ok(self.main.delete::<_, Str>(txn, main_key::EXACT_ATTRIBUTES)?)
pub(crate) fn delete_exact_attributes(&self, txn: &mut RwTxn) -> heed::Result<bool> {
self.main.delete::<_, Str>(txn, main_key::EXACT_ATTRIBUTES)
}
pub fn max_values_per_facet(&self, txn: &RoTxn) -> heed::Result<Option<usize>> {