Permalink
Browse files

Fix the example code for Dispatch::Queue#apply

  • Loading branch information...
1 parent 8cb130a commit 549046f048d06d0522b1e77c6ccce05ac2046fa2 @ferrous26 ferrous26 committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gcd.c
View
2 gcd.c
@@ -617,7 +617,7 @@ rb_block_applier(void *data, size_t ii)
* gcdq = Dispatch::Queue.new('doc')
* @result = []
* gcdq.apply(5) {|i| @result[i] = i*i }
- * p @result #=> [0, 1, 4, 9, 16, 25]
+ * p @result #=> [0, 1, 4, 9, 16]
*
*/

0 comments on commit 549046f

Please sign in to comment.