Skip to content

Commit e17e6d1

Browse files
committed
Merge pull request #479 from eregon/patch-2
Fix typos in async.rb
2 parents 280d9d0 + 965b112 commit e17e6d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/concurrent/async.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module Concurrent
5858
# end
5959
# ```
6060
#
61-
# When defining a constructor it is critica that the first line be a call to
61+
# When defining a constructor it is critical that the first line be a call to
6262
# `super` with no arguments. The `super` method initializes the background
6363
# thread and other asynchronous components.
6464
#
@@ -153,7 +153,7 @@ module Concurrent
153153
# subtly different.
154154
#
155155
# When internal state is accessed via the `async` and `await` proxy methods,
156-
# the returned value represents the object's sate *at the time the call is
156+
# the returned value represents the object's state *at the time the call is
157157
# processed*, which may *not* be the state of the object at the time the call
158158
# is made.
159159
#

0 commit comments

Comments
 (0)