From a62930bd9528032cd1ca16b881bfff28b202dd3b Mon Sep 17 00:00:00 2001 From: mejrs <> Date: Tue, 28 Jun 2022 19:53:45 +0200 Subject: [PATCH] Fix duplication --- guide/pyclass_parameters.md | 8 ++++---- guide/src/class.md | 8 -------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/guide/pyclass_parameters.md b/guide/pyclass_parameters.md index 87d81c94..6ec06673 100644 --- a/guide/pyclass_parameters.md +++ b/guide/pyclass_parameters.md @@ -29,10 +29,10 @@ struct MyClass { } struct MyClass { } ``` -[params-1]: ../prelude/struct.PyAny.html +[params-1]: https://docs.rs/pyo3/latest/pyo3/struct.PyAny.html [params-2]: https://en.wikipedia.org/wiki/Free_list -[params-3]: std::marker::Send -[params-4]: std::rc::Rc -[params-5]: std::sync::Arc +[params-3]: https://doc.rust-lang.org/std/marker/trait.Send.html +[params-4]: https://doc.rust-lang.org/std/rc/struct.Rc.html +[params-5]: https://doc.rust-lang.org/std/sync/struct.Arc.html [params-6]: https://docs.python.org/3/library/weakref.html [params-mapping]: https://pyo3.rs/latest/class/protocols.html#mapping--sequence-types \ No newline at end of file diff --git a/guide/src/class.md b/guide/src/class.md index cff3c51e..4beb0e75 100644 --- a/guide/src/class.md +++ b/guide/src/class.md @@ -197,14 +197,6 @@ Python::with_gil(|py|{ {{#include ../pyclass_parameters.md}} -[params-1]: {{#PYO3_DOCS_URL}}/pyo3/prelude/struct.PyAny.html -[params-2]: https://en.wikipedia.org/wiki/Free_list -[params-3]: https://doc.rust-lang.org/stable/std/marker/trait.Send.html -[params-4]: https://doc.rust-lang.org/stable/std/rc/struct.Rc.html -[params-5]: https://doc.rust-lang.org/stable/std/sync/struct.Rc.html -[params-6]: https://docs.python.org/3/library/weakref.html -[params-mapping]: ./class/protocols.md#mapping--sequence-types - These parameters are covered in various sections of this guide. ### Return type