Co-authored-by: Georg Brandl <georg@python.org>
This commit is contained in:
mejrs 2021-07-03 12:11:41 +02:00 committed by GitHub
parent d7465af86f
commit 4a4e0d84d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -383,7 +383,7 @@ where
self.as_ref(py).try_borrow()
}
/// Attempts to immutably borrow the value `T`, returning an error if the value is currently borrowed.
/// Attempts to mutably borrow the value `T`, returning an error if the value is currently borrowed.
///
/// The borrow lasts while the returned [`PyRefMut`] exists.
///