Skip to content

Commit 7d107d6

Browse files
committed
fix: elide needless lifetime in PyLearner1D::data (clippy)
1 parent f5fdeb2 commit 7d107d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/learner1d/python.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impl PyLearner1D {
202202
}
203203

204204
#[getter]
205-
fn data<'py>(&self, py: Python<'py>) -> PyResult<PyObject> {
205+
fn data(&self, py: Python<'_>) -> PyResult<PyObject> {
206206
let dict = pyo3::types::PyDict::new(py);
207207
// Include both in-bounds and out-of-bounds data (matches Python behavior)
208208
for (&x, y) in self

0 commit comments

Comments
 (0)