From e88d52e0dae970e1704b2b29afe1013fd6cc2af7 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 27 Mar 2021 04:28:26 +0100 Subject: [PATCH] extras: fix missing absolute path in impl_borrow --- embassy-extras/src/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-extras/src/macros.rs b/embassy-extras/src/macros.rs index e8d7a6e3..9110f225 100644 --- a/embassy-extras/src/macros.rs +++ b/embassy-extras/src/macros.rs @@ -88,7 +88,7 @@ macro_rules! unborrow { #[macro_export] macro_rules! impl_unborrow { ($type:ident) => { - impl PeripheralBorrow for $type { + impl ::embassy::util::PeripheralBorrow for $type { type Target = $type; #[inline] 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; #[inline] unsafe fn unborrow(self) -> Self::Target {