Skip to content

Commit c8c0af3

Browse files
hsbtclaude
authored andcommitted
[ruby/rubygems] Fix grammar in gem installer cache comment
Change "and lock the mutex" to "and to lock the mutex" for correct parallel infinitive structure. ruby/rubygems@94f9267b72 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 539cb5e commit c8c0af3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/bundler/source/rubygems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def extension_cache_slug(spec)
513513

514514
# We are using a mutex to read and write from/to the hash.
515515
# The reason this double synchronization was added is for performance
516-
# and lock the mutex for the shortest possible amount of time. Otherwise,
516+
# and to lock the mutex for the shortest possible amount of time. Otherwise,
517517
# all threads are fighting over this mutex and when it gets acquired it gets locked
518518
# until a thread finishes downloading a gem, leaving the other threads waiting
519519
# doing nothing.

0 commit comments

Comments
 (0)