Skip to content

Commit 2aa6f64

Browse files
danieldiekmeiereregon
authored andcommitted
Fix typo
1 parent 6e2bd8a commit 2aa6f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent-ruby/concurrent/promise.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ module Concurrent
167167
# c2 = p.then(-> reason { raise 'Boom!' })
168168
#
169169
# c1.wait.state #=> :fulfilled
170-
# c1.value #=> 45
170+
# c1.value #=> 42
171171
# c2.wait.state #=> :rejected
172172
# c2.reason #=> #<RuntimeError: Boom!>
173173
# ```

0 commit comments

Comments
 (0)