Fix warnings

This commit is contained in:
Mubelotix 2025-06-24 14:53:39 +02:00
parent bc4d1530ee
commit 695877043a
2 changed files with 1 additions and 1 deletions

View File

@ -675,6 +675,7 @@ fn compare_vectors(a: &[f32], b: &[f32]) -> Ordering {
a.iter().copied().map(OrderedFloat).cmp(b.iter().copied().map(OrderedFloat))
}
#[allow(clippy::too_many_arguments)]
#[tracing::instrument(level = "trace", skip_all, target = "indexing::extract")]
pub fn extract_embeddings<R: io::Read + io::Seek>(
// docid, prompt

View File

@ -1,4 +1,3 @@
use std::f32::consts::E;
use std::{cell::RefCell, sync::Arc};
use bumpalo::collections::Vec as BVec;