We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f883b0b commit f796112Copy full SHA for f796112
src/libstd/sys/unix/rwlock.rs
@@ -45,10 +45,10 @@ impl RWLock {
45
// We roughly maintain the deadlocking behavior by panicking to ensure
46
// that this lock acquisition does not succeed.
47
//
48
- // We also check whether there this lock is already write locked. This
+ // We also check whether this lock is already write locked. This
49
// is only possible if it was write locked by the current thread and
50
// the implementation allows recursive locking. The POSIX standard
51
- // doesn't require recursivly locking a rwlock to deadlock, but we can't
+ // doesn't require recursively locking a rwlock to deadlock, but we can't
52
// allow that because it could lead to aliasing issues.
53
if r == libc::EAGAIN {
54
panic!("rwlock maximum reader count exceeded");
0 commit comments