Address clippy::redundant_static_lifetimes issues
This commit is contained in:
parent
7034332f46
commit
5e0168b2e9
|
@ -122,7 +122,7 @@ fn test_datetime_utc() {
|
|||
assert_eq!(offset, 0f32);
|
||||
}
|
||||
|
||||
static INVALID_DATES: &'static [(i32, u8, u8)] = &[
|
||||
static INVALID_DATES: &[(i32, u8, u8)] = &[
|
||||
(-1, 1, 1),
|
||||
(0, 1, 1),
|
||||
(10000, 1, 1),
|
||||
|
@ -134,7 +134,7 @@ static INVALID_DATES: &'static [(i32, u8, u8)] = &[
|
|||
(2018, 1, 32),
|
||||
];
|
||||
|
||||
static INVALID_TIMES: &'static [(u8, u8, u8, u32)] =
|
||||
static INVALID_TIMES: &[(u8, u8, u8, u32)] =
|
||||
&[(25, 0, 0, 0), (255, 0, 0, 0), (0, 60, 0, 0), (0, 0, 61, 0)];
|
||||
|
||||
#[cfg(Py_3_6)]
|
||||
|
|
Loading…
Reference in a new issue