summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 03:51:49 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-10 03:51:49 +0000
commite9a07af797eb2e8ce413b5a3b0308c2e0ee88769 (patch)
treef2ab8a88b79eaf98595784f4ff72b7228281348a
parentdfaf61504c3ae4f7d4a7f8dea2d853faba33fbee (diff)
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
* lib/generator.rb (Enumerator#next): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--enumerator.c2
-rw-r--r--lib/generator.rb2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e0608233a..07c743883d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Dec 10 12:51:14 2008 Akinori MUSHA <knu@iDaemons.org>
+
+ * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
+
+ * lib/generator.rb (Enumerator#next): Ditto.
+
Tue Dec 9 03:21:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* mkconfig.rb: fix for continued lines. based on a patch from
diff --git a/enumerator.c b/enumerator.c
index c094a99be5..896863a78a 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -386,7 +386,7 @@ enumerator_with_index(obj)
*
* 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
diff --git a/lib/generator.rb b/lib/generator.rb
index 5c8a50ac2e..ac6dfa87e0 100644
--- a/lib/generator.rb
+++ b/lib/generator.rb
@@ -176,7 +176,7 @@ class Enumerator
#
# 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