Skip to content

Commit d5a9984

Browse files
committed
Adds must_use to MutexState
1 parent 71b86da commit d5a9984

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/sync/mutex

1 file changed

+1
-0
lines changed

library/std/src/sys/sync/mutex/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[must_use]
12
#[derive(Copy, Clone, Eq, PartialEq)]
23
pub enum MutexState {
34
Normal,

0 commit comments

Comments
 (0)