Resolve merge conflicts
This commit is contained in:
parent
ac66392068
commit
8c2970939d
|
@ -1,2 +1,8 @@
|
|||
[alias]
|
||||
xtask = "run --package xtask --"
|
||||
pyo3_doc = "doc --lib --no-default-features --features=full --no-deps --workspace --open --exclude pyo3-macros --exclude pyo3-macros-backend"
|
||||
pyo3_doc_scrape = "doc --lib --no-default-features --features=full --no-deps --workspace --open --exclude pyo3-macros --exclude pyo3-macros-backend -Z unstable-options -Z rustdoc-scrape-examples=examples"
|
||||
pyo3_doc_internal = "doc --lib --no-default-features --features=full --no-deps --workspace --open --document-private-items -Z unstable-options -Z rustdoc-scrape-examples=examples"
|
||||
|
||||
[build]
|
||||
rustdocflags = ["--cfg", "docsrs"]
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[alias]
|
||||
pyo3_doc = "doc --lib --no-default-features --features=full --no-deps --workspace --open --exclude pyo3-macros --exclude pyo3-macros-backend"
|
||||
pyo3_doc_scrape = "doc --lib --no-default-features --features=full --no-deps --workspace --open --exclude pyo3-macros --exclude pyo3-macros-backend -Z unstable-options -Z rustdoc-scrape-examples=examples"
|
||||
pyo3_doc_internal = "doc --lib --no-default-features --features=full --no-deps --workspace --open --document-private-items -Z unstable-options -Z rustdoc-scrape-examples=examples"
|
||||
|
||||
[build]
|
||||
rustdocflags = ["--cfg", "docsrs"]
|
|
@ -3,7 +3,7 @@ use std::marker::PhantomData;
|
|||
use crate::Python;
|
||||
|
||||
/// A marker type that makes the type !Send.
|
||||
/// Workaround for lack of !Send on stable (https://github.com/rust-lang/rust/issues/68318).
|
||||
/// Workaround for lack of !Send on stable (<https://github.com/rust-lang/rust/issues/68318>).
|
||||
pub(crate) struct NotSend(PhantomData<*mut Python<'static>>);
|
||||
|
||||
pub(crate) const NOT_SEND: NotSend = NotSend(PhantomData);
|
||||
|
|
Loading…
Reference in New Issue