extras: fix missing absolute path in impl_borrow

This commit is contained in:
Dario Nieuwenhuis 2021-03-27 04:28:26 +01:00
parent 646be40ac5
commit e88d52e0da

View File

@ -88,7 +88,7 @@ macro_rules! unborrow {
#[macro_export] #[macro_export]
macro_rules! impl_unborrow { macro_rules! impl_unborrow {
($type:ident) => { ($type:ident) => {
impl PeripheralBorrow for $type { impl ::embassy::util::PeripheralBorrow for $type {
type Target = $type; type Target = $type;
#[inline] #[inline]
unsafe fn unborrow(self) -> Self::Target { unsafe fn unborrow(self) -> Self::Target {
@ -96,7 +96,7 @@ macro_rules! impl_unborrow {
} }
} }
impl<'a> PeripheralBorrow for &'a mut $type { impl<'a> ::embassy::util::PeripheralBorrow for &'a mut $type {
type Target = $type; type Target = $type;
#[inline] #[inline]
unsafe fn unborrow(self) -> Self::Target { unsafe fn unborrow(self) -> Self::Target {