Fix clippy

This commit is contained in:
Mubelotix
2025-07-08 15:56:09 +02:00
parent fb73b83abe
commit 9e98a25e45
2 changed files with 1 additions and 5 deletions

View File

@ -614,8 +614,6 @@ impl std::fmt::Display for Token<'_> {
#[cfg(test)] #[cfg(test)]
pub mod tests { pub mod tests {
use std::fmt::format;
use FilterCondition as Fc; use FilterCondition as Fc;
use super::*; use super::*;

View File

@ -212,7 +212,7 @@ impl<'a> VectorFilter<'a> {
embedder_config.config.quantized(), embedder_config.config.quantized(),
); );
let mut new_docids = if let Some(fragment_token) = &self.fragment_token { docids |= if let Some(fragment_token) = &self.fragment_token {
let fragment_name = fragment_token.value(); let fragment_name = fragment_token.value();
let Some(fragment_config) = embedder_config let Some(fragment_config) = embedder_config
.fragments .fragments
@ -261,8 +261,6 @@ impl<'a> VectorFilter<'a> {
stats.documents stats.documents
} }
}; };
docids |= new_docids;
} }
if let Some(universe) = universe { if let Some(universe) = universe {