Skip to content

Commit 7b3872a

Browse files
Fix Clippy (elide a lifetime)
1 parent 2e310c2 commit 7b3872a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ impl<T> Py<T> {
14851485
/// Calls the object with only positional arguments.
14861486
///
14871487
/// This is equivalent to the Python expression `self(*args)`.
1488-
pub fn call1<'py, N>(&self, py: Python<'py>, args: N) -> PyResult<PyObject>
1488+
pub fn call1<N>(&self, py: Python<'_>, args: N) -> PyResult<PyObject>
14891489
where
14901490
N: IntoPy<Py<PyTuple>>,
14911491
{

0 commit comments

Comments
 (0)