Skip to content

Commit 91a730b

Browse files
committed
Manually link to the send_wrapper crate to avoid having it as a build dependencies for the docs.
1 parent f9a31b5 commit 91a730b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/marker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ use std::os::raw::c_int;
157157
/// });
158158
/// ```
159159
///
160-
/// This also implies that one can circumvent this protection using e.g. the [`send_wrapper`] crate:
160+
/// This also implies that one can circumvent this protection using e.g. the [`send_wrapper`](https://docs.rs/send_wrapper/) crate:
161161
///
162162
/// ```no_run
163163
/// # use pyo3::prelude::*;
@@ -221,7 +221,7 @@ unsafe impl<T: Send> Ungil for T {}
221221
/// ```
222222
///
223223
/// On nightly Rust, this is not based on the [`Send`] auto trait and hence we are able
224-
/// to prevent incorrectly circumventing it using e.g. the [`send_wrapper`] crate:
224+
/// to prevent incorrectly circumventing it using e.g. the [`send_wrapper`](https://docs.rs/send_wrapper/) crate:
225225
///
226226
/// ```compile_fail
227227
/// # use pyo3::prelude::*;

0 commit comments

Comments
 (0)