Remove unnecessary !Send markers

This commit is contained in:
Dániel Buga
2023-08-12 22:08:46 +02:00
parent fbf50cdae8
commit bce250bbdc
4 changed files with 5 additions and 21 deletions

View File

@ -27,15 +27,8 @@ mod thread {
/// TODO
// Name pending
pub struct XtensaThreadContext {
_not_send: PhantomData<*mut ()>,
}
impl Default for XtensaThreadContext {
fn default() -> Self {
Self { _not_send: PhantomData }
}
}
#[derive(Default)] // Default enables Executor::new
pub struct XtensaThreadContext;
impl ThreadContext for XtensaThreadContext {
fn context(&self) -> OpaqueThreadContext {