File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ module Concurrent
142
142
# practice is to read the instance variable into a local variable at the start
143
143
# of the method then update the instance variable at the *end* of the method.
144
144
# 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.
146
146
#
147
147
# ### Reader Attributes
148
148
#
Original file line number Diff line number Diff line change 19
19
# the value will undergo frequent reads but only occasional, though complex,
20
20
# updates. Suitable when the result of an update must be known immediately.
21
21
# * *{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
23
23
# simple set operations. Not suitable when updates are complex.
24
24
# {Concurrent::AtomicBoolean} and {Concurrent::AtomicFixnum} are similar
25
25
# but optimized for the given data type.
You can’t perform that action at this time.
0 commit comments