Skip to content

Commit 82bd11b

Browse files
authored
Small typo fix in doc.
1 parent 9866df2 commit 82bd11b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/concurrent/async.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ module Concurrent
142142
# practice is to read the instance variable into a local variable at the start
143143
# of the method then update the instance variable at the *end* of the method.
144144
# This way, should an exception be raised during method execution the internal
145-
# state of the boject will not have been changed.
145+
# state of the object will not have been changed.
146146
#
147147
# ### Reader Attributes
148148
#

lib/concurrent/atom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# the value will undergo frequent reads but only occasional, though complex,
2020
# updates. Suitable when the result of an update must be known immediately.
2121
# * *{Concurrent::AtomicReference}:* A simple object reference that can be
22-
# atomically. Updates are synchronous but fast. Bast used when updates a
22+
# atomically. Updates are synchronous but fast. Best used when updates a
2323
# simple set operations. Not suitable when updates are complex.
2424
# {Concurrent::AtomicBoolean} and {Concurrent::AtomicFixnum} are similar
2525
# but optimized for the given data type.

0 commit comments

Comments
 (0)