Skip to content

Commit

Permalink
Fix broken links in python-from-rust.md (#4564)
Browse files Browse the repository at this point in the history
These links are currently broken in the docs: https://pyo3.rs/v0.22.3/python-from-rust#the-py-lifetime

I'm not particularly familiar with the docs setup for this repo, so this PR is my best-effort attempt at fixing the problem with a minimal fix in the spirit of the existing code.
  • Loading branch information
obi1kenobi authored Sep 18, 2024
1 parent a32afdd commit 3b39a83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guide/src/python-from-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ Because of the lack of exclusive `&mut` references, PyO3's APIs for Python objec
[smart-pointers]: https://doc.rust-lang.org/book/ch15-00-smart-pointers.html
[obtaining-py]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#obtaining-a-python-token
[`pyo3::sync`]: {{#PYO3_DOCS_URL}}/pyo3/sync/index.html
[eval]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#method.eval
[import]: {{#PYO3_DOCS_URL}}/pyo3/marker/struct.Python.html#method.import_bound
[clone_ref]: {{#PYO3_DOCS_URL}}/pyo3/prelude/struct.Py.html#method.clone_ref
[Bound]: {{#PYO3_DOCS_URL}}/pyo3/struct.Bound.html

0 comments on commit 3b39a83

Please sign in to comment.