fix clippy

This commit is contained in:
ManyTheFish 2025-02-11 10:15:31 +01:00 committed by Kerollmops
parent 058f08dff5
commit 4f77a7fba5
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 2 additions and 2 deletions

View file

@ -406,7 +406,7 @@ impl Index {
/// Returns the stats of the database.
pub fn documents_database_stats(&self, rtxn: &RoTxn<'_>) -> Result<DatabaseStats> {
Ok(DatabaseStats::new(self.documents.remap_types::<Bytes, Bytes>(), rtxn)?)
DatabaseStats::new(self.documents.remap_types::<Bytes, Bytes>(), rtxn)
}
/* primary key */