Skip to content

Commit

Permalink
Remove unnecessary lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
msk committed Nov 25, 2024
1 parent fbe8be7 commit 77eda8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ball_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -868,8 +868,8 @@ mod test {
/// # Panics
///
/// Panics if any row in `neighbors` is not contiguous in memory.
fn naive_k_nearest_neighbors<'a, A, S, M>(
neighbors: &'a ArrayBase<S, Ix2>,
fn naive_k_nearest_neighbors<A, S, M>(
neighbors: &ArrayBase<S, Ix2>,
point: &ArrayView1<A>,
k: usize,
metric: &M,
Expand Down

0 comments on commit 77eda8c

Please sign in to comment.