From 98e5777309d81fa34281e0e3c6866ce76f96cf36 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Tue, 13 Jun 2023 15:49:58 -0500 Subject: [PATCH] fix --- src/types/frozenset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/frozenset.rs b/src/types/frozenset.rs index 9de663dfdc3..782741d592e 100644 --- a/src/types/frozenset.rs +++ b/src/types/frozenset.rs @@ -17,7 +17,7 @@ impl<'py> PyFrozenSetBuilder<'py> { /// Create a new `FrozenSetBuilder`. /// Since this allocates a `PyFrozenSet` internally it may /// panic when running out of memory. - pub fn new<'a>(py: Python<'py>) -> PyResult> { + pub fn new(py: Python<'py>) -> PyResult> { Ok(PyFrozenSetBuilder { py_frozen_set: PyFrozenSet::empty(py)?, })