Skip to content

Commit 017d5d4

Browse files
committed
---
yaml --- r: 101874 b: refs/heads/master c: 0f4294b h: refs/heads/master v: v3
1 parent 6ffed3c commit 017d5d4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0937f659993631da3b3ddc198dd502c58d1634c6
2+
refs/heads/master: 0f4294b4e2887ffe9d0532564521c456bb89a780
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
55
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff

trunk/src/libsync/sync/mutex.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ pub struct StaticMutex {
143143

144144
/// An RAII implementation of a "scoped lock" of a mutex. When this structure is
145145
/// dropped (falls out of scope), the lock will be unlocked.
146+
#[must_use]
146147
pub struct Guard<'a> {
147148
priv lock: &'a mut StaticMutex,
148149
}

0 commit comments

Comments
 (0)