summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--enumerator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enumerator.c b/enumerator.c
index 8e31ed3542..3f8d63286f 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -714,11 +714,11 @@ enumerator_peek(VALUE obj)
* call-seq:
* e.feed obj -> nil
*
- * Set the value for the next yield in the enumerator returns.
+ * Sets the value to be returned by the next yield inside +e+.
*
* If the value is not set, the yield returns nil.
*
- * This value is cleared after being used.
+ * This value is cleared after being yielded.
*
* o = Object.new
* def o.each