Skip to content

Commit

Permalink
fixup msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 9, 2023
1 parent 4c7b884 commit bd4fbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl<'py> Py2<'py, PyAny> {
/// # Safety
/// ptr must be a valid pointer to a Python object.
pub unsafe fn from_borrowed_ptr_unchecked(py: Python<'py>, ptr: *mut ffi::PyObject) -> Self {
Self::from_borrowed_ptr_or_opt(py, ptr).unwrap_unchecked()
Self::from_borrowed_ptr_or_opt(py, ptr).unwrap()
}
}

Expand Down

0 comments on commit bd4fbf3

Please sign in to comment.