File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ impl RWLock {
4545 // We roughly maintain the deadlocking behavior by panicking to ensure
4646 // that this lock acquisition does not succeed.
4747 //
48- // We also check whether there this lock is already write locked. This
48+ // We also check whether this lock is already write locked. This
4949 // is only possible if it was write locked by the current thread and
5050 // the implementation allows recursive locking. The POSIX standard
51- // doesn't require recursivly locking a rwlock to deadlock, but we can't
51+ // doesn't require recursively locking a rwlock to deadlock, but we can't
5252 // allow that because it could lead to aliasing issues.
5353 if r == libc:: EAGAIN {
5454 panic ! ( "rwlock maximum reader count exceeded" ) ;
You can’t perform that action at this time.
0 commit comments