From c9775b03823c63e1c1a711330dd147a5b30f1fb0 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 27 Aug 2009 22:28:15 +0000 Subject: * enumerator.c (next_i): typo fixed (reached at end -> reached an end). pointed out by James Edward Gray II at LoneStar RubyConf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enumerator.c') diff --git a/enumerator.c b/enumerator.c index e49000657a..ec322ea017 100644 --- a/enumerator.c +++ b/enumerator.c @@ -581,7 +581,7 @@ next_i(VALUE curr, VALUE obj) VALUE result; result = rb_block_call(obj, id_each, 0, 0, next_ii, obj); - e->stop_exc = rb_exc_new2(rb_eStopIteration, "iteration reached at end"); + e->stop_exc = rb_exc_new2(rb_eStopIteration, "iteration reached an end"); rb_ivar_set(e->stop_exc, rb_intern("result"), result); return rb_fiber_yield(1, &nil); } -- cgit v1.2.3