Update src/instance.rs

Co-authored-by: Georg Brandl <georg@python.org>
This commit is contained in:
mejrs 2021-07-03 12:11:13 +02:00 committed by GitHub
parent e6cd5cbd34
commit d7465af86f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ where
/// obj.as_ref(py)
/// }
/// ```
///This can be solved by using [`Py::into_ref`] instead, which does not suffer from this issue.
/// This can be solved by using [`Py::into_ref`] instead, which does not suffer from this issue.
/// Note that the lifetime of the [`Python<'py>`](crate::Python) token is transferred to
/// the returned reference.
///