mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-04 18:45:46 +01:00
Make clippy happy
This commit is contained in:
parent
cc63802115
commit
a514ce472a
@ -382,19 +382,19 @@ impl<'b> ExtractorBbqueueSender<'b> {
|
||||
}
|
||||
|
||||
pub fn field_id_docid_facet_sender<'a>(&'a self) -> FieldIdDocidFacetSender<'a, 'b> {
|
||||
FieldIdDocidFacetSender(&self)
|
||||
FieldIdDocidFacetSender(self)
|
||||
}
|
||||
|
||||
pub fn documents<'a>(&'a self) -> DocumentsSender<'a, 'b> {
|
||||
DocumentsSender(&self)
|
||||
DocumentsSender(self)
|
||||
}
|
||||
|
||||
pub fn embeddings<'a>(&'a self) -> EmbeddingSender<'a, 'b> {
|
||||
EmbeddingSender(&self)
|
||||
EmbeddingSender(self)
|
||||
}
|
||||
|
||||
pub fn geo<'a>(&'a self) -> GeoSender<'a, 'b> {
|
||||
GeoSender(&self)
|
||||
GeoSender(self)
|
||||
}
|
||||
|
||||
fn delete_vector(&self, docid: DocumentId) -> crate::Result<()> {
|
||||
|
@ -249,10 +249,3 @@ fn merge_cbo_bitmaps(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// TODO Return the slice directly from the serialize_into method
|
||||
fn cbo_bitmap_serialize_into_vec<'b>(bitmap: &RoaringBitmap, buffer: &'b mut Vec<u8>) -> &'b [u8] {
|
||||
buffer.clear();
|
||||
CboRoaringBitmapCodec::serialize_into(bitmap, buffer);
|
||||
buffer.as_slice()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user