Avoid calling IntoIter on array in msrv
This commit is contained in:
parent
31589f09e3
commit
22b9519f89
|
@ -73,7 +73,7 @@ impl Dummy {
|
|||
fn __delattr__(&mut self, name: ::std::string::String) {}
|
||||
|
||||
fn __dir__<'py>(&self, py: ::pyo3::Python<'py>) -> &'py ::pyo3::types::PyList {
|
||||
::pyo3::types::PyList::new(py, [0; 0])
|
||||
::pyo3::types::PyList::new(py, vec![0])
|
||||
}
|
||||
|
||||
//////////////////////
|
||||
|
|
Loading…
Reference in New Issue