From 2a318f86cba749b89459d0d4f332b91ce2f43a4d Mon Sep 17 00:00:00 2001 From: Predrag Gruevski Date: Tue, 26 Nov 2024 23:17:57 +0000 Subject: [PATCH] Remove links in vendored code that point outside the sdist source code. --- vendor/pyo3/pyo3-ffi/src/lib.rs | 4 +--- vendor/pyo3/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/vendor/pyo3/pyo3-ffi/src/lib.rs b/vendor/pyo3/pyo3-ffi/src/lib.rs index 23a5e0000..4333b7cf0 100644 --- a/vendor/pyo3/pyo3-ffi/src/lib.rs +++ b/vendor/pyo3/pyo3-ffi/src/lib.rs @@ -129,9 +129,7 @@ //! ``` //! //! **`src/lib.rs`** -//! ```rust -#![doc = include_str!("../examples/string-sum/src/lib.rs")] -//! ``` +//! see: `../examples/string-sum/src/lib.rs` //! //! With those two files in place, now `maturin` needs to be installed. This can be done using //! Python's package manager `pip`. First, load up a new Python `virtualenv`, and install `maturin` diff --git a/vendor/pyo3/src/lib.rs b/vendor/pyo3/src/lib.rs index c71e12b86..3af3aadff 100644 --- a/vendor/pyo3/src/lib.rs +++ b/vendor/pyo3/src/lib.rs @@ -463,7 +463,7 @@ pub use pyo3_macros::{ /// A proc macro used to expose Rust structs and fieldless enums as Python objects. /// -#[doc = include_str!("../guide/pyclass-parameters.md")] +/// see: `../guide/pyclass-parameters.md` /// /// For more on creating Python classes, /// see the [class section of the guide][1].