diff options
| author | Ralph Ursprung <[email protected]> | 2025-07-28 15:37:34 +0200 |
|---|---|---|
| committer | Ralph Ursprung <[email protected]> | 2025-07-28 15:44:21 +0200 |
| commit | 98595f659c309703aab411b6b3be7579b6e93c5d (patch) | |
| tree | c2c138d3d0e2e1348b66ee31dae9b2f772d801d1 /embassy-executor | |
| parent | 8f64a14bebe711962af0136a5acd2b3cef509402 (diff) | |
`embassy-time`: add missing `Debug` & `defmt::Format` derives
`defmt::Format` is *not* implemented for `MockDriver` and
`InnerMockDriver` because the former contains the latter and the latter
is using `Queue` from `embassy-time-queue-utils` which so far does not
have a `defmt` dependency. since this is just a mock driver it shouldn't
be relevant if it has no `defmt::Format` impl.
Diffstat (limited to 'embassy-executor')
| -rw-r--r-- | embassy-executor/src/raw/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/raw/mod.rs b/embassy-executor/src/raw/mod.rs index 913da2e25..c8f1f46c2 100644 --- a/embassy-executor/src/raw/mod.rs +++ b/embassy-executor/src/raw/mod.rs | |||
| @@ -98,7 +98,7 @@ pub(crate) struct TaskHeader { | |||
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | /// This is essentially a `&'static TaskStorage<F>` where the type of the future has been erased. | 100 | /// This is essentially a `&'static TaskStorage<F>` where the type of the future has been erased. |
| 101 | #[derive(Clone, Copy, PartialEq)] | 101 | #[derive(Debug, Clone, Copy, PartialEq)] |
| 102 | pub struct TaskRef { | 102 | pub struct TaskRef { |
| 103 | ptr: NonNull<TaskHeader>, | 103 | ptr: NonNull<TaskHeader>, |
| 104 | } | 104 | } |
