aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--thread_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c
index 971217c9a3..a37f51f149 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -730,7 +730,7 @@ queue_do_push(VALUE self, struct rb_queue *q, VALUE obj)
*
* - +close+ will be ignored.
*
- * - calling enq/push/<< will return nil.
+ * - calling enq/push/<< will raise an exception.
*
* - when +empty?+ is false, calling deq/pop/shift will return an object
* from the queue as usual.