From 854939fc6b523479a7540d8ac9d0933d9c3dcb78 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 21 Apr 2017 08:38:30 -0500 Subject: [PATCH] rename "system ceiling" to "current ceiling" --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ad79850f0d..e4873ff6de 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -521,13 +521,13 @@ where impl Peripheral> { /// See [Resource.borrow](./struct.Resource.html#method.borrow) - pub fn borrow<'cs, PRIORITY, SCEILING>( + pub fn borrow<'cs, PRIORITY, CCEILING>( &'static self, _priority: &P, - _current_ceiling: &'cs C, + _current_ceiling: &'cs C, ) -> Ref<'cs, Periph> where - SCEILING: GreaterThanOrEqual, + CCEILING: GreaterThanOrEqual, CEILING: GreaterThanOrEqual, { unsafe { Ref::new(&*self.peripheral.get()) }