Skip to content

Commit

Permalink
fix: allow impl of Ungil for deprecated PyCell in nightly (#4053)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo authored and davidhewitt committed Apr 16, 2024
1 parent 0b888cb commit b8ec43e
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 b8ec43e

Please # to comment.