From 0fbe6b5da14ebc86846eae596ef0271ff777c2d7 Mon Sep 17 00:00:00 2001 From: matz Date: Sun, 23 Dec 2007 21:37:28 +0000 Subject: [PATCH] * array.c (rb_ary_at): updated documentation. a patch from Tadashi Saito in [ruby-core:14330]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 9 +++++++-- array.c | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7a8d4a87c9..acf03abc2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,15 @@ +Mon Dec 24 06:36:00 2007 Yukihiro Matsumoto + Mon Dec 24 05:32:22 2007 Yukihiro Matsumoto * enum.c (enum_inject): updated documentation. a patch from Keita Yamaguchi in [ruby-dev:32686]. - * README.EXT: updated. a patch from Tadashi Saito - in [ruby-core:14328]. + * README.EXT: updated. a patch from Tadashi Saito + in [ruby-core:14328]. + + * array.c (rb_ary_at): updated documentation. a patch from Tadashi + Saito in [ruby-core:14330]. Mon Dec 24 05:13:04 2007 Yukihiro Matsumoto diff --git a/array.c b/array.c index 741887bcba..ca9cc448a0 100644 --- a/array.c +++ b/array.c @@ -767,8 +767,6 @@ rb_ary_aref(int argc, VALUE *argv, VALUE ary) * Returns the element at _index_. A * negative index counts from the end of _self_. Returns +nil+ * if the index is out of range. See also Array#[]. - * (Array#at is slightly faster than Array#[], - * as it does not accept ranges and so on.) * * a = [ "a", "b", "c", "d", "e" ] * a.at(0) #=> "a"