We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a3ad13 commit 1ac1dd7Copy full SHA for 1ac1dd7
tests/pass/concurrency/windows_condvar_shared.rs
@@ -60,6 +60,8 @@ fn all_shared() {
60
assert_ne!(r, 0);
61
62
println!("exclusive waiter {i} reacquired lock");
63
+
64
+ // unlocking is unnecessary because the lock is never used again
65
}));
66
}
67
@@ -125,6 +127,8 @@ fn shared_sleep_and_exclusive_lock() {
125
127
126
128
129
println!("shared waiter {i} reacquired lock");
130
131
132
133
134
0 commit comments