From 7b3872a70494eb856912be97b107a779cc055eef Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Sun, 25 Aug 2024 05:30:34 +0300 Subject: [PATCH] Fix Clippy (elide a lifetime) --- src/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instance.rs b/src/instance.rs index 37177f71fc4..5e7b3173759 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -1485,7 +1485,7 @@ impl Py { /// Calls the object with only positional arguments. /// /// This is equivalent to the Python expression `self(*args)`. - pub fn call1<'py, N>(&self, py: Python<'py>, args: N) -> PyResult + pub fn call1(&self, py: Python<'_>, args: N) -> PyResult where N: IntoPy>, {