summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index 7cae81ed37..2eb0c24a2b 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -2553,7 +2553,7 @@ enum_chain_total_size(VALUE enums)
/*
* call-seq:
- * obj.size -> integer
+ * obj.size -> int, Float::INFINITY or nil
*
* Returns the total size of the enumerator chain calculated by
* summing up the size of each enumerable in the chain. If any of the