Make clippy happy

This commit is contained in:
Tamo 2024-09-19 16:27:34 +02:00
parent 1113c42de0
commit 74199f328d
2 changed files with 2 additions and 0 deletions

View File

@ -312,6 +312,7 @@ fn get_ranking_rules_for_placeholder_search<'ctx>(
Ok(ranking_rules)
}
#[allow(clippy::too_many_arguments)]
fn get_ranking_rules_for_vector<'ctx>(
ctx: &SearchContext<'ctx>,
sort_criteria: &Option<Vec<AscDesc>>,

View File

@ -22,6 +22,7 @@ pub struct Similar<'a> {
}
impl<'a> Similar<'a> {
#[allow(clippy::too_many_arguments)]
pub fn new(
id: DocumentId,
offset: usize,