diff options
| author | Dániel Buga <[email protected]> | 2023-08-12 22:08:46 +0200 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2023-08-12 22:17:03 +0200 |
| commit | bce250bbdc18f025547f59c30a7bec24826b3aea (patch) | |
| tree | 7e790a57aa7f4a6f3db83cf615d5402e0fcc6230 /embassy-executor/src/arch/cortex_m.rs | |
| parent | fbf50cdae899dc1cd2f232b880e096d0fc51f49c (diff) | |
Remove unnecessary !Send markers
Diffstat (limited to 'embassy-executor/src/arch/cortex_m.rs')
| -rw-r--r-- | embassy-executor/src/arch/cortex_m.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embassy-executor/src/arch/cortex_m.rs b/embassy-executor/src/arch/cortex_m.rs index ca1675c03..355a0f086 100644 --- a/embassy-executor/src/arch/cortex_m.rs +++ b/embassy-executor/src/arch/cortex_m.rs | |||
| @@ -18,9 +18,7 @@ mod thread { | |||
| 18 | /// TODO | 18 | /// TODO |
| 19 | // Name pending | 19 | // Name pending |
| 20 | #[derive(Default)] // Default enables Executor::new | 20 | #[derive(Default)] // Default enables Executor::new |
| 21 | pub struct CortexMThreadContext { | 21 | pub struct CortexMThreadContext; |
| 22 | _not_send: core::marker::PhantomData<*mut ()>, | ||
| 23 | } | ||
| 24 | 22 | ||
| 25 | impl ThreadContext for CortexMThreadContext { | 23 | impl ThreadContext for CortexMThreadContext { |
| 26 | #[cfg(feature = "thread-context")] | 24 | #[cfg(feature = "thread-context")] |
