Skip to content

Commit

Permalink
Suppress dead_code for index()
Browse files Browse the repository at this point in the history
  • Loading branch information
dustalov committed Jul 9, 2024
1 parent ab7af0e commit e4a7d7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use num_traits::{Float, Num};

use crate::Winner;

#[warn(dead_code)]
pub fn index<I: Eq + Hash + Clone>(xs: &ArrayView1<I>, ys: &ArrayView1<I>) -> HashMap<I, usize> {
let mut index: HashMap<I, usize> = HashMap::new();

Expand Down

0 comments on commit e4a7d7e

Please sign in to comment.