aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-sync')
-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 f25f74336..7528a9f68 100644
--- a/embassy-sync/src/mutex.rs
+++ b/embassy-sync/src/mutex.rs
@@ -171,6 +171,7 @@ where
171/// 171///
172/// Dropping it unlocks the mutex. 172/// Dropping it unlocks the mutex.
173#[clippy::has_significant_drop] 173#[clippy::has_significant_drop]
174#[must_use = "if unused the Mutex will immediately unlock"]
174pub struct MutexGuard<'a, M, T> 175pub struct MutexGuard<'a, M, T>
175where 176where
176 M: RawMutex, 177 M: RawMutex,