Skip to content

Commit 565dc90

Browse files
committed
add missing .new
1 parent c99224e commit 565dc90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

md/future.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ A fulfilled example:
3535
```ruby
3636
require 'concurrent'
3737

38-
count = Concurrent::Future{ sleep(10); 10 }
38+
count = Concurrent::Future.new{ sleep(10); 10 }
3939
count.state #=> :pending
4040
count.pending? #=> true
4141

0 commit comments

Comments
 (0)