extras: fix missing absolute path in impl_borrow
This commit is contained in:
parent
646be40ac5
commit
e88d52e0da
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user