aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-03-20 14:53:19 +0100
committerDario Nieuwenhuis <[email protected]>2024-03-20 14:53:19 +0100
commit3d842dac85a4ea21519f56d4ec6342b528805b8a (patch)
tree91cac807afcac430ba1fd54b36d54472a8d5725f /embassy-sync/src
parent7c2aae88da81f4ea34a4228173f474f2c05a2f28 (diff)
fmt: disable "unused" warnings.
Diffstat (limited to 'embassy-sync/src')
-rw-r--r--embassy-sync/src/fmt.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-sync/src/fmt.rs b/embassy-sync/src/fmt.rs
index 78e583c1c..2ac42c557 100644
--- a/embassy-sync/src/fmt.rs
+++ b/embassy-sync/src/fmt.rs
@@ -1,5 +1,5 @@
1#![macro_use] 1#![macro_use]
2#![allow(unused_macros)] 2#![allow(unused)]
3 3
4use core::fmt::{Debug, Display, LowerHex}; 4use core::fmt::{Debug, Display, LowerHex};
5 5
@@ -229,7 +229,6 @@ impl<T, E> Try for Result<T, E> {
229 } 229 }
230} 230}
231 231
232#[allow(unused)]
233pub(crate) struct Bytes<'a>(pub &'a [u8]); 232pub(crate) struct Bytes<'a>(pub &'a [u8]);
234 233
235impl<'a> Debug for Bytes<'a> { 234impl<'a> Debug for Bytes<'a> {