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

@ -30,7 +30,7 @@ impl DatabaseStats {
///
/// This function iterates over the whole database and computes the stats.
/// It is not efficient and should be cached somewhere.
pub(crate) fn new<'a>(database: Database<Bytes, Bytes>, rtxn: &RoTxn<'a>) -> Result<Self> {
pub(crate) fn new(database: Database<Bytes, Bytes>, rtxn: &RoTxn<'_>) -> Result<Self> {
let mut database_stats = Self {
number_of_entries: 0,
total_key_size: 0,