fix: allow impl of Ungil for deprecated PyCell in nightly (#4053)
This commit is contained in:
parent
0b888cb934
commit
b8ec43e469
|
@ -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> {}
|
||||
|
|
Loading…
Reference in New Issue