Skip to content

Commit 44224c4

Browse files
authored
Merge pull request #85 from light-curve/clippy-1.62
Clippy 1.62 lints
2 parents 64fafcd + efbe60e commit 44224c4

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

light-curve/src/cont_array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ where
3636
}
3737
}
3838

39-
impl<'a, T> From<Array1<T>> for ContArray<T>
39+
impl<T> From<Array1<T>> for ContArray<T>
4040
where
4141
T: Element + Copy,
4242
{

light-curve/src/dmdt.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::format_push_string)] // Revisit it after upgrade to more recent PyO3
2+
13
use crate::check::check_sorted;
24
use crate::cont_array::{ContArray, ContCowArray};
35
use crate::errors::{Exception, Res};

light-curve/src/features.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::format_push_string)] // Revisit it after upgrade to more recent PyO3
2+
13
use crate::check::{check_finite, check_no_nans, is_sorted};
24
use crate::cont_array::ContCowArray;
35
use crate::errors::{Exception, Res};

light-curve/src/np_array.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::format_push_string)] // Revisit it after upgrade to more recent PyO3
2+
13
use numpy::PyReadonlyArray1;
24
use pyo3::prelude::*;
35
use std::convert::TryFrom;

0 commit comments

Comments
 (0)