diff --git a/src/gil.rs b/src/gil.rs index 5a6b4bca0a0..8d04641063e 100644 --- a/src/gil.rs +++ b/src/gil.rs @@ -284,7 +284,7 @@ struct PendingDecRef(NonNull); unsafe impl Send for PendingDecRef {} #[cfg(not(pyo3_disable_reference_pool))] -static POOL: Collector = Collector::new(); +static POOL: Collector = Collector::new(); fn update_counts(_py: Python<'_>) { for obj in POOL.collect() {