diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-03-27 04:28:26 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-03-29 00:58:58 +0200 |
| commit | e88d52e0dae970e1704b2b29afe1013fd6cc2af7 (patch) | |
| tree | 63065cf00b8a060140154c81cb2289f7e74b73df /embassy-extras | |
| parent | 646be40ac582d88bfe58daa9c60502a6256f4da5 (diff) | |
extras: fix missing absolute path in impl_borrow
Diffstat (limited to 'embassy-extras')
| -rw-r--r-- | embassy-extras/src/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-extras/src/macros.rs b/embassy-extras/src/macros.rs index e8d7a6e3a..9110f2251 100644 --- a/embassy-extras/src/macros.rs +++ b/embassy-extras/src/macros.rs | |||
| @@ -88,7 +88,7 @@ macro_rules! unborrow { | |||
| 88 | #[macro_export] | 88 | #[macro_export] |
| 89 | macro_rules! impl_unborrow { | 89 | macro_rules! impl_unborrow { |
| 90 | ($type:ident) => { | 90 | ($type:ident) => { |
| 91 | impl PeripheralBorrow for $type { | 91 | impl ::embassy::util::PeripheralBorrow for $type { |
| 92 | type Target = $type; | 92 | type Target = $type; |
| 93 | #[inline] | 93 | #[inline] |
| 94 | unsafe fn unborrow(self) -> Self::Target { | 94 | unsafe fn unborrow(self) -> Self::Target { |
| @@ -96,7 +96,7 @@ macro_rules! impl_unborrow { | |||
| 96 | } | 96 | } |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | impl<'a> PeripheralBorrow for &'a mut $type { | 99 | impl<'a> ::embassy::util::PeripheralBorrow for &'a mut $type { |
| 100 | type Target = $type; | 100 | type Target = $type; |
| 101 | #[inline] | 101 | #[inline] |
| 102 | unsafe fn unborrow(self) -> Self::Target { | 102 | unsafe fn unborrow(self) -> Self::Target { |
