This commit is contained in:
Blaz Snuderl 2024-02-03 21:25:47 +01:00
parent 507ea28b27
commit b1863c73df
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ pyobject_native_type_extract!(PyNone);
impl PyNone {
/// Returns the `None` object.
#[inline]
pub fn get<'py>(py: Python<'py>) -> Borrowed<'py, 'py, PyNone> {
pub fn get(py: Python<'_>) -> Borrowed<'_, '_, PyNone> {
unsafe {
let bound = ffi::Py_None().assume_borrowed(py);
std::mem::transmute(bound)