From 618de30606deb64e55eb85e4d729f7ebff402539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Niederb=C3=BChl?= Date: Mon, 4 May 2020 23:22:42 +0200 Subject: [PATCH] Fix broken links in guide --- guide/src/conversions.md | 8 ++++---- guide/src/function.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/guide/src/conversions.md b/guide/src/conversions.md index 5228b33d..80560052 100644 --- a/guide/src/conversions.md +++ b/guide/src/conversions.md @@ -131,10 +131,10 @@ Just like `From`, if you implement `FromPy` you gain a blanket implementat Eventually, traits such as [`ToPyObject`] will be replaced by this trait and a [`FromPy`] trait will be added that will implement [`IntoPy`], just like with `From` and `Into`. -[`IntoPy`]: https://docs.rs/pyo3/latest/pyo3/trait.IntoPy.html -[`FromPy`]: https://docs.rs/pyo3/latest/pyo3/trait.FromPy.html -[`FromPyObject`]: https://docs.rs/pyo3/latest/pyo3/types/trait.FromPyObject.html -[`ToPyObject`]: https://docs.rs/pyo3/latest/pyo3/trait.ToPyObject.html +[`IntoPy`]: https://docs.rs/pyo3/latest/pyo3/conversion/trait.IntoPy.html +[`FromPy`]: https://docs.rs/pyo3/latest/pyo3/conversion/trait.FromPy.html +[`FromPyObject`]: https://docs.rs/pyo3/latest/pyo3/conversion/trait.FromPyObject.html +[`ToPyObject`]: https://docs.rs/pyo3/latest/pyo3/conversion/trait.ToPyObject.html [`PyObject`]: https://docs.rs/pyo3/latest/pyo3/struct.PyObject.html [`PyTuple`]: https://docs.rs/pyo3/latest/pyo3/types/struct.PyTuple.html [`ObjectProtocol`]: https://docs.rs/pyo3/latest/pyo3/trait.ObjectProtocol.html diff --git a/guide/src/function.md b/guide/src/function.md index 09122974..1ae7bf0c 100644 --- a/guide/src/function.md +++ b/guide/src/function.md @@ -187,5 +187,5 @@ If you have a static function, you can expose it with `#[pyfunction]` and use [` [`ObjectProtocol::call`]: https://docs.rs/pyo3/latest/pyo3/trait.ObjectProtocol.html#tymethod.call [`ObjectProtocol::call0`]: https://docs.rs/pyo3/latest/pyo3/trait.ObjectProtocol.html#tymethod.call0 [`ObjectProtocol::call1`]: https://docs.rs/pyo3/latest/pyo3/trait.ObjectProtocol.html#tymethod.call1 -[`PyObject`]: https://docs.rs/pyo3/latest/pyo3/struct.PyObject +[`PyObject`]: https://docs.rs/pyo3/latest/pyo3/struct.PyObject.html [`wrap_pyfunction!`]: https://docs.rs/pyo3/latest/pyo3/macro.wrap_pyfunction.html