Address clippy::into_iter_on_ref issues
This commit is contained in:
parent
6b4a221d61
commit
f7ac0a2887
|
@ -149,7 +149,7 @@ fn test_pydate_out_of_bounds() {
|
|||
// This test is an XFAIL on Python < 3.6 until bounds checking is implemented
|
||||
let gil = Python::acquire_gil();
|
||||
let py = gil.python();
|
||||
for val in INVALID_DATES.into_iter() {
|
||||
for val in INVALID_DATES {
|
||||
let (year, month, day) = val;
|
||||
let dt = PyDate::new(py, *year, *month, *day);
|
||||
dt.unwrap_err();
|
||||
|
|
Loading…
Reference in a new issue