File tree 2 files changed +6
-5
lines changed 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -579,6 +579,7 @@ pub mod pivot_fn {
579
579
// Next, we sort each chunk. Each group is a fixed length, so each sort
580
580
// takes constant time. Since we have n/5 chunks, this operation
581
581
// is also O(n)
582
+ #[ allow( clippy:: manual_inspect) ]
582
583
let sorted_chunks = chunks. map ( |c| {
583
584
c. sort_unstable_by ( compare) ;
584
585
c
@@ -736,14 +737,14 @@ pub mod cluster {
736
737
list : & ' a mut [ Cluster ] ,
737
738
len : usize ,
738
739
}
739
- impl < ' a > Deref for ClusterMut < ' a > {
740
+ impl Deref for ClusterMut < ' _ > {
740
741
type Target = [ Cluster ] ;
741
742
#[ inline]
742
743
fn deref ( & self ) -> & Self :: Target {
743
744
self . list
744
745
}
745
746
}
746
- impl < ' a > DerefMut for ClusterMut < ' a > {
747
+ impl DerefMut for ClusterMut < ' _ > {
747
748
#[ inline]
748
749
fn deref_mut ( & mut self ) -> & mut Self :: Target {
749
750
self . list
@@ -767,7 +768,7 @@ pub mod cluster {
767
768
}
768
769
}
769
770
}
770
- impl < ' a > ClusterMut < ' a > {
771
+ impl ClusterMut < ' _ > {
771
772
#[ inline]
772
773
fn list ( & self ) -> ClusterList {
773
774
ClusterList :: from ( self )
Original file line number Diff line number Diff line change @@ -1915,7 +1915,7 @@ pub mod theil_sen {
1915
1915
vec
1916
1916
}
1917
1917
}
1918
- impl < ' a , T : Copy + Debug > Iterator for PermutationIter < ' a , T > {
1918
+ impl < T : Copy + Debug > Iterator for PermutationIter < ' _ , T > {
1919
1919
type Item = PermutationIterBuffer < T > ;
1920
1920
#[ inline]
1921
1921
fn next ( & mut self ) -> Option < Self :: Item > {
@@ -4017,7 +4017,7 @@ mod utils {
4017
4017
}
4018
4018
}
4019
4019
pub ( super ) struct BorrowedPolynomial < ' a > ( pub ( super ) & ' a [ f64 ] ) ;
4020
- impl < ' a > Predictive for BorrowedPolynomial < ' a > {
4020
+ impl Predictive for BorrowedPolynomial < ' _ > {
4021
4021
#[ inline( always) ]
4022
4022
fn predict_outcome ( & self , predictor : f64 ) -> f64 {
4023
4023
match self . 0 . len ( ) {
You can’t perform that action at this time.
0 commit comments