summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 03:49:48 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 03:49:48 +0000
commit1ed799937b3ffba6b3215c9130587a529b72ef3f (patch)
tree656d0fd5acf12e7d895885f8f9042fa22428d5a4 /enumerator.c
parentd433a70b5dca5c501e53d89e155f7bbba17fdbc7 (diff)
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
* lib/prime.rb (Prime::OldCompatibility#each): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 1e20b560f8..f063dfb3de 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -498,7 +498,7 @@ next_init(VALUE obj, struct enumerator *e)
*
* Returns the next object in the enumerator, and move the internal
* position forward. When the position reached at the end, internal
- * position is rewinded then StopIteration is raised.
+ * position is rewound then StopIteration is raised.
*
* Note that enumeration sequence by next method does not affect other
* non-external enumeration methods, unless underlying iteration