diff options
-rw-r--r-- | src/interrupt.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/interrupt.rs b/src/interrupt.rs index e11fdc3..a96b845 100644 --- a/src/interrupt.rs +++ b/src/interrupt.rs @@ -19,14 +19,6 @@ impl<T> Mutex<T> { pub fn borrow<'cs>(&self, _ctxt: &'cs CriticalSection) -> &'cs T { unsafe { &*self.inner.get() } } - - /// Mutably borrows the data for the duration of the critical section - pub fn borrow_mut<'cs>( - &self, - _ctxt: &'cs mut CriticalSection, - ) -> &'cs mut T { - unsafe { &mut *self.inner.get() } - } } /// Interrupt number |