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()) }