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 {
45
45
// We roughly maintain the deadlocking behavior by panicking to ensure
46
46
// that this lock acquisition does not succeed.
47
47
//
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
49
49
// is only possible if it was write locked by the current thread and
50
50
// 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
52
52
// allow that because it could lead to aliasing issues.
53
53
if r == libc:: EAGAIN {
54
54
panic ! ( "rwlock maximum reader count exceeded" ) ;
You can’t perform that action at this time.
0 commit comments