diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -105,11 +105,11 @@ impl<T> RacyCell<T> { unsafe impl<T> Sync for RacyCell<T> {} -/// Should be moved to `rtic-core` -pub trait MutexStruct { - /// Data protected by the mutex - type T; +// /// Should be moved to `rtic-core` +// pub trait MutexStruct { +// /// Data protected by the mutex +// type T; - /// Creates a critical section and grants temporary access to the protected data - fn lock<R>(&mut self, f: impl FnOnce(&mut Self::T) -> R) -> R; -} +// /// Creates a critical section and grants temporary access to the protected data +// fn lock<R>(&mut self, f: impl FnOnce(&mut Self::T) -> R) -> R; +// } |