fix: allow impl of Ungil for deprecated PyCell in nightly (#4053)
This commit is contained in:
parent
7a00b4d357
commit
2f0869a6d6
|
@ -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