Skip to content

Commit

Permalink
rust lints take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zehiko committed Feb 6, 2025
1 parent eae5aa3 commit a5acbab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rerun_py/src/remote.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::needless_pass_by_value)] // A lot of arguments to #[pyfunction] need to be by value
#![allow(unsafe_op_in_unsafe_fn)] // False positive due to #[pyfunction] macro

use std::{collections::BTreeSet, sync::Arc};
Expand Down Expand Up @@ -537,7 +538,7 @@ impl PyStorageNodeClient {
fn search_vector_index(
&mut self,
entry: String,
query: &VectorLike<'_>,
query: VectorLike<'_>,
column: PyComponentColumnSelector,
top_k: u32,
) -> PyResult<PyArrowType<Box<dyn RecordBatchReader + Send>>> {
Expand Down

0 comments on commit a5acbab

Please sign in to comment.