mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	fix clippy
This commit is contained in:
		@@ -41,7 +41,7 @@ impl DatabaseStats {
 | 
			
		||||
    ///
 | 
			
		||||
    /// This function is used to update the stats of the database when some keys are modified.
 | 
			
		||||
    /// It is more efficient than the `new` function because it does not iterate over the whole database but only the modified keys comparing the before and after states.
 | 
			
		||||
    pub(crate) fn recompute<'a, I, K>(
 | 
			
		||||
    pub(crate) fn recompute<I, K>(
 | 
			
		||||
        mut stats: Self,
 | 
			
		||||
        database: Database<Bytes, Bytes>,
 | 
			
		||||
        before_rtxn: &RoTxn<'_>,
 | 
			
		||||
 
 | 
			
		||||
@@ -121,7 +121,8 @@ where
 | 
			
		||||
    Ok(())
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pub fn update_index(
 | 
			
		||||
#[allow(clippy::too_many_arguments)]
 | 
			
		||||
pub(super) fn update_index(
 | 
			
		||||
    index: &Index,
 | 
			
		||||
    wtxn: &mut RwTxn<'_>,
 | 
			
		||||
    new_fields_ids_map: FieldIdMapWithMetadata,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user