Skip to content

Commit b89ca2d

Browse files
authored
Merge pull request #921 from andrewdotn/main
Typo fix in Event docs
2 parents 1709217 + f9b775c commit b89ca2d

File tree

1 file changed

+2
-2
lines changed
  • lib/concurrent-ruby/concurrent/atomic

1 file changed

+2
-2
lines changed

lib/concurrent-ruby/concurrent/atomic/event.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module Concurrent
1919
# t1 = Thread.new do
2020
# puts "t1 is waiting"
2121
# event.wait(1)
22-
# puts "event ocurred"
22+
# puts "event occurred"
2323
# end
2424
#
2525
# t2 = Thread.new do
@@ -30,8 +30,8 @@ module Concurrent
3030
# [t1, t2].each(&:join)
3131
#
3232
# # prints:
33-
# # t2 calling set
3433
# # t1 is waiting
34+
# # t2 calling set
3535
# # event occurred
3636
class Event < Synchronization::LockableObject
3737

0 commit comments

Comments
 (0)