diff options
Diffstat (limited to 'embassy-net-esp-hosted')
| -rw-r--r-- | embassy-net-esp-hosted/src/fmt.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embassy-net-esp-hosted/src/fmt.rs b/embassy-net-esp-hosted/src/fmt.rs index 91984bde1..78e583c1c 100644 --- a/embassy-net-esp-hosted/src/fmt.rs +++ b/embassy-net-esp-hosted/src/fmt.rs | |||
| @@ -93,7 +93,7 @@ macro_rules! unreachable { | |||
| 93 | #[cfg(feature = "defmt")] | 93 | #[cfg(feature = "defmt")] |
| 94 | macro_rules! unreachable { | 94 | macro_rules! unreachable { |
| 95 | ($($x:tt)*) => { | 95 | ($($x:tt)*) => { |
| 96 | ::defmt::unreachable!($($x)*); | 96 | ::defmt::unreachable!($($x)*) |
| 97 | }; | 97 | }; |
| 98 | } | 98 | } |
| 99 | 99 | ||
| @@ -229,7 +229,8 @@ impl<T, E> Try for Result<T, E> { | |||
| 229 | } | 229 | } |
| 230 | } | 230 | } |
| 231 | 231 | ||
| 232 | pub struct Bytes<'a>(pub &'a [u8]); | 232 | #[allow(unused)] |
| 233 | pub(crate) struct Bytes<'a>(pub &'a [u8]); | ||
| 233 | 234 | ||
| 234 | impl<'a> Debug for Bytes<'a> { | 235 | impl<'a> Debug for Bytes<'a> { |
| 235 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | 236 | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
