diff options
| author | Gustav Toft <[email protected]> | 2024-04-04 15:52:44 +0200 |
|---|---|---|
| committer | Gustav Toft <[email protected]> | 2024-04-04 15:52:44 +0200 |
| commit | a373633d0dbc352de1b488bf15e383f8ef1d4a8c (patch) | |
| tree | a4590f26bd3252445e2adfa6d271a6f1cf74d54b /embassy-executor/src | |
| parent | 0427c442ea531673e18da304c7402927589b8d0b (diff) | |
| parent | 067e422863674762c0ee20178f3671ce16a5986c (diff) | |
Merge branch 'main' of https://github.com/GustavToft/embassy
Diffstat (limited to 'embassy-executor/src')
| -rw-r--r-- | embassy-executor/src/fmt.rs | 3 | ||||
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/embassy-executor/src/fmt.rs b/embassy-executor/src/fmt.rs index 78e583c1c..2ac42c557 100644 --- a/embassy-executor/src/fmt.rs +++ b/embassy-executor/src/fmt.rs | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #![macro_use] | 1 | #![macro_use] |
| 2 | #![allow(unused_macros)] | 2 | #![allow(unused)] |
| 3 | 3 | ||
| 4 | use core::fmt::{Debug, Display, LowerHex}; | 4 | use 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)] | ||
| 233 | pub(crate) struct Bytes<'a>(pub &'a [u8]); | 232 | pub(crate) struct Bytes<'a>(pub &'a [u8]); |
| 234 | 233 | ||
| 235 | impl<'a> Debug for Bytes<'a> { | 234 | impl<'a> Debug for Bytes<'a> { |
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index 3d5e3ab9f..d9ea5c005 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -30,7 +30,7 @@ use core::ptr::NonNull; | |||
| 30 | use core::task::{Context, Poll}; | 30 | use core::task::{Context, Poll}; |
| 31 | 31 | ||
| 32 | #[cfg(feature = "integrated-timers")] | 32 | #[cfg(feature = "integrated-timers")] |
| 33 | use embassy_time_driver::{self, AlarmHandle}; | 33 | use embassy_time_driver::AlarmHandle; |
| 34 | #[cfg(feature = "rtos-trace")] | 34 | #[cfg(feature = "rtos-trace")] |
| 35 | use rtos_trace::trace; | 35 | use rtos_trace::trace; |
| 36 | 36 | ||
