summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index 0340338b50..e341c07d75 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -516,7 +516,7 @@ enumerator_with_index(int argc, VALUE *argv, VALUE obj)
* e.each_with_index {|(*args), idx| ... }
* e.each_with_index
*
- * Same as Enumeartor#with_index, except each_with_index does not
+ * Same as Enumerator#with_index, except each_with_index does not
* receive an offset argument.
*
*/