Hide Pender

This commit is contained in:
Dániel Buga 2023-08-14 16:35:12 +02:00
parent da4f15d944
commit 07c3600127

View File

@ -301,13 +301,13 @@ impl<F: Future + 'static, const N: usize> TaskPool<F, N> {
/// ///
/// Platform/architecture implementations must provide a function that can be referred to as: /// Platform/architecture implementations must provide a function that can be referred to as:
/// ///
/// ```rust/// /// ```rust
/// extern "Rust" { /// extern "Rust" {
/// fn __pender(context: *mut ()); /// fn __pender(context: *mut ());
/// } /// }
/// ``` /// ```
#[derive(Clone, Copy)] #[derive(Clone, Copy)]
pub struct Pender(*mut ()); pub(crate) struct Pender(*mut ());
unsafe impl Send for Pender {} unsafe impl Send for Pender {}
unsafe impl Sync for Pender {} unsafe impl Sync for Pender {}