aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a1976db..bf0b7bd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -180,19 +180,6 @@ where
unsafe { &*self.peripheral.get() }
}
- /// Mutably borrows the resource without locking
- ///
- /// NOTE The system ceiling must be higher than this resource ceiling
- pub fn borrow_mut<'l, SC>(
- &'static self,
- _system_ceiling: &'l mut SC,
- ) -> &'l mut P
- where
- SC: HigherThan<C>,
- {
- unsafe { &mut *self.peripheral.get() }
- }
-
/// Returns an immutable reference to the inner data without locking
///
/// # Safety
@@ -327,16 +314,6 @@ where
unsafe { &*self.data.get() }
}
- /// Mutably borrows the resource without locking
- ///
- /// NOTE The system ceiling must be higher than this resource ceiling
- pub fn borrow_mut<'l, SC>(&'static self, _ctxt: &'l mut SC) -> &'l mut T
- where
- SC: HigherThan<C>,
- {
- unsafe { &mut *self.data.get() }
- }
-
/// Returns an immutable reference to the inner data without locking
///
/// # Safety