Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

More rust idomatic change

laurenspriemf95d3b210000
diff --git a/mobile/apps/photos/rust/src/api/usearch_api.rs b/mobile/apps/photos/rust/src/api/usearch_api.rs
index b0878cf5db..411b7ba75d 100644
--- a/mobile/apps/photos/rust/src/api/usearch_api.rs
+++ b/mobile/apps/photos/rust/src/api/usearch_api.rs
@@ -152,7 +152,7 @@ impl VectorDB {
pub fn approx_filtered_search_vectors_within_distance(
&self,
query: &[f32],
- allowed_keys: &Vec<u64>,
+ allowed_keys: &[u64],
count: usize,
max_distance: f32,
) -> (Vec<u64>, Vec<f32>) {