Permalink
Browse files

Tweak a docstring example so it is clear who is returning the value

  • Loading branch information...
1 parent 881356e commit 0fcb25e4ee59cad87a8e28aa37187b83fefec5f8 @ferrous26 ferrous26 committed Apr 13, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 gcd.c
View
@@ -1194,7 +1194,10 @@ rb_semaphore_init(VALUE self, SEL sel, VALUE value)
*
* gcdq = Dispatch::Queue.new('doc')
* sema = Dispatch::Semaphore.new(0)
- * gcdq.async { sleep 0.1; sema.signal } #=> false
+ * gcdq.async {
+ * sleep 0.1
+ * sema.signal #=> false
+ * }
* sema.wait
*
*/

0 comments on commit 0fcb25e

Please sign in to comment.