We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffed3c commit 017d5d4Copy full SHA for 017d5d4
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 0937f659993631da3b3ddc198dd502c58d1634c6
+refs/heads/master: 0f4294b4e2887ffe9d0532564521c456bb89a780
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
trunk/src/libsync/sync/mutex.rs
@@ -143,6 +143,7 @@ pub struct StaticMutex {
143
144
/// An RAII implementation of a "scoped lock" of a mutex. When this structure is
145
/// dropped (falls out of scope), the lock will be unlocked.
146
+#[must_use]
147
pub struct Guard<'a> {
148
priv lock: &'a mut StaticMutex,
149
}
0 commit comments