We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 668a55c commit d105032Copy full SHA for d105032
library/std/src/sys/sync/rwlock/teeos.rs
@@ -45,6 +45,6 @@ impl RwLock {
45
#[inline]
46
pub unsafe fn downgrade(&self) {
47
// Since there is no difference between read-locked and write-locked on this platform, this
48
- // function is a no-op.
+ // function is simply a no-op as only 1 reader can read - the original writer.
49
}
50
0 commit comments