aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-esp-hosted/src
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-net-esp-hosted/src')
-rw-r--r--embassy-net-esp-hosted/src/fmt.rs5
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")]
94macro_rules! unreachable { 94macro_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
232pub struct Bytes<'a>(pub &'a [u8]); 232#[allow(unused)]
233pub(crate) struct Bytes<'a>(pub &'a [u8]);
233 234
234impl<'a> Debug for Bytes<'a> { 235impl<'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 {