Some automated fixes suggested by cargo clippy --fix

This commit is contained in:
Lorenzo Mec-iS
2025-01-20 15:04:21 +00:00
parent 68fd27f8f4
commit 58ee0cb8d1
10 changed files with 43 additions and 49 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ mod tests {
#[derive(Debug, PartialEq, Clone)]
struct TestDistribution<'d>(&'d Vec<i32>);
impl<'d> NBDistribution<i32, i32> for TestDistribution<'d> {
impl NBDistribution<i32, i32> for TestDistribution<'_> {
fn prior(&self, _class_index: usize) -> f64 {
1.
}