Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 2e284b1 commit bb0cee9077e33ccee795334ec14140f1dbf5e86c @headius committed Mar 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -54,6 +54,6 @@ my_atomic = Atomic.new(0)
my_atomic.value # => 0
my_atomic.value = 1
my_atomic.swap(2) # => 1
-my_atomic.compare_and_swap(2, 3) => true, updated to 3
-my_atomic.compare_and_swap(2, 3) => false, current is not 2
+my_atomic.compare_and_swap(2, 3) # => true, updated to 3
+my_atomic.compare_and_swap(2, 3) # => false, current is not 2
````

0 comments on commit bb0cee9

Please sign in to comment.