Skip to content

Commit

Permalink
Merge pull request ruby-concurrency#556 from peter50216/patch-doc-typo
Browse files Browse the repository at this point in the history
Typo fixes
  • Loading branch information
jdantonio authored Jul 23, 2016
2 parents 9866df2 + 82bd11b commit 007d628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/concurrent/async.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module Concurrent
# practice is to read the instance variable into a local variable at the start
# of the method then update the instance variable at the *end* of the method.
# This way, should an exception be raised during method execution the internal
# state of the boject will not have been changed.
# state of the object will not have been changed.
#
# ### Reader Attributes
#
Expand Down
2 changes: 1 addition & 1 deletion lib/concurrent/atom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# the value will undergo frequent reads but only occasional, though complex,
# updates. Suitable when the result of an update must be known immediately.
# * *{Concurrent::AtomicReference}:* A simple object reference that can be
# atomically. Updates are synchronous but fast. Bast used when updates a
# atomically. Updates are synchronous but fast. Best used when updates a
# simple set operations. Not suitable when updates are complex.
# {Concurrent::AtomicBoolean} and {Concurrent::AtomicFixnum} are similar
# but optimized for the given data type.
Expand Down

0 comments on commit 007d628

Please sign in to comment.