aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/mutex.rs
diff options
context:
space:
mode:
authorCurly <[email protected]>2025-08-19 22:30:53 -0700
committerCurly <[email protected]>2025-08-19 22:36:49 -0700
commit368738bef44dbba1a178383d878a6d9423b1ccd9 (patch)
tree4c375e7ec4615e6dee9fda837584067d19b7caf6 /embassy-sync/src/mutex.rs
parenta5cb04bdab602bc3bd056d254a9d61cad55bd967 (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.rs1
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))]
17pub struct TryLockError; 17pub struct TryLockError;
18 18
19#[derive(Debug)]
19struct State { 20struct State {
20 locked: bool, 21 locked: bool,
21 waker: WakerRegistration, 22 waker: WakerRegistration,