Correct documentation for `Py::borrow_mut()`.

This commit is contained in:
Enyium 2023-02-19 21:12:06 +01:00 committed by GitHub
parent f5f688dd68
commit d700754917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ where
/// ```
///
/// # Panics
/// Panics if the value is currently mutably borrowed. For a non-panicking variant, use
/// Panics if the value is currently borrowed. For a non-panicking variant, use
/// [`try_borrow_mut`](#method.try_borrow_mut).
pub fn borrow_mut<'py>(&'py self, py: Python<'py>) -> PyRefMut<'py, T>
where