Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
refactor: Change return type to keep consistency with others
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryConrad committed Nov 28, 2022
1 parent e0d2410 commit d3182f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions milli/src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>> {
Expand Down

0 comments on commit d3182f3

Please sign in to comment.