Skip to content

Commit 8fa4400

Browse files
committed
Fix type
1 parent 34a683e commit 8fa4400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/truffleruby/core/mutex/MutexNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ protected Object synchronize(RubyMutex mutex, RubyProc block,
138138
throw new RaiseException(getContext(), coreExceptions().threadErrorRecursiveLocking(this));
139139
}
140140

141-
/* This code uses lock/unlock because the list of owned locks must be maintained. Use code can unlock a
141+
/* This code uses lock/unlock because the list of owned locks must be maintained. User code can unlock a
142142
* mutex inside a synchronize block, and then relock it before exiting the block, and we need the owned
143143
* locks list to be in consistent state at the end. */
144144
MutexOperations.lock(getContext(), lock, thread, this);

0 commit comments

Comments
 (0)