Skip to content

Commit

Permalink
fix: allow impl of Ungil for deprecated PyCell in nightly (PyO3#4053)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Apr 6, 2024
1 parent 7a00b4d commit 2f0869a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ mod nightly {
impl !Ungil for crate::PyAny {}

// All the borrowing wrappers
#[allow(deprecated)]
impl<T> !Ungil for crate::PyCell<T> {}
impl<T> !Ungil for crate::PyRef<'_, T> {}
impl<T> !Ungil for crate::PyRefMut<'_, T> {}
Expand Down

0 comments on commit 2f0869a

Please sign in to comment.