diff options
| author | Dániel Buga <[email protected]> | 2023-08-14 16:35:12 +0200 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2023-08-14 16:35:48 +0200 |
| commit | 07c36001271ab0a033a08a6535719729efb677c4 (patch) | |
| tree | 9dfcb2ed68f801b77a844e5406e2582c5e0e63fb /embassy-executor/src | |
| parent | da4f15d94492667dd33087f95e28747b74b07811 (diff) | |
Hide Pender
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index aa99b4cf3..064831026 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -301,13 +301,13 @@ impl<F: Future + 'static, const N: usize> TaskPool<F, N> { | |||
| 301 | /// | 301 | /// |
| 302 | /// Platform/architecture implementations must provide a function that can be referred to as: | 302 | /// Platform/architecture implementations must provide a function that can be referred to as: |
| 303 | /// | 303 | /// |
| 304 | /// ```rust/// | 304 | /// ```rust |
| 305 | /// extern "Rust" { | 305 | /// extern "Rust" { |
| 306 | /// fn __pender(context: *mut ()); | 306 | /// fn __pender(context: *mut ()); |
| 307 | /// } | 307 | /// } |
| 308 | /// ``` | 308 | /// ``` |
| 309 | #[derive(Clone, Copy)] | 309 | #[derive(Clone, Copy)] |
| 310 | pub struct Pender(*mut ()); | 310 | pub(crate) struct Pender(*mut ()); |
| 311 | 311 | ||
| 312 | unsafe impl Send for Pender {} | 312 | unsafe impl Send for Pender {} |
| 313 | unsafe impl Sync for Pender {} | 313 | unsafe impl Sync for Pender {} |
