aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorDániel Buga <[email protected]>2023-08-14 16:35:12 +0200
committerDániel Buga <[email protected]>2023-08-14 16:35:48 +0200
commit07c36001271ab0a033a08a6535719729efb677c4 (patch)
tree9dfcb2ed68f801b77a844e5406e2582c5e0e63fb /embassy-executor
parentda4f15d94492667dd33087f95e28747b74b07811 (diff)
Hide Pender
Diffstat (limited to 'embassy-executor')
-rw-r--r--embassy-executor/src/raw/mod.rs4
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)]
310pub struct Pender(*mut ()); 310pub(crate) struct Pender(*mut ());
311 311
312unsafe impl Send for Pender {} 312unsafe impl Send for Pender {}
313unsafe impl Sync for Pender {} 313unsafe impl Sync for Pender {}