diff options
| author | Curly <[email protected]> | 2025-08-19 22:30:53 -0700 |
|---|---|---|
| committer | Curly <[email protected]> | 2025-08-19 22:36:49 -0700 |
| commit | 368738bef44dbba1a178383d878a6d9423b1ccd9 (patch) | |
| tree | 4c375e7ec4615e6dee9fda837584067d19b7caf6 /embassy-sync/src/mutex.rs | |
| parent | a5cb04bdab602bc3bd056d254a9d61cad55bd967 (diff) | |
chore: add more `Debug` impls to `embassy-sync`, particularly on `OnceLock`
All tests green
Diffstat (limited to 'embassy-sync/src/mutex.rs')
| -rw-r--r-- | embassy-sync/src/mutex.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-sync/src/mutex.rs b/embassy-sync/src/mutex.rs index 8496f34bf..4ce6dd987 100644 --- a/embassy-sync/src/mutex.rs +++ b/embassy-sync/src/mutex.rs | |||
| @@ -16,6 +16,7 @@ use crate::waitqueue::WakerRegistration; | |||
| 16 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 16 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 17 | pub struct TryLockError; | 17 | pub struct TryLockError; |
| 18 | 18 | ||
| 19 | #[derive(Debug)] | ||
| 19 | struct State { | 20 | struct State { |
| 20 | locked: bool, | 21 | locked: bool, |
| 21 | waker: WakerRegistration, | 22 | waker: WakerRegistration, |
