summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-01 13:07:05 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-01 13:07:05 +0000
commit9ba40029603e4385e47b606a192f6ab8f0b52e41 (patch)
tree0ecdf996793af2c6bb53239323bbc9506cf276fe /array.c
parent85c476a342403499de298ed6e1a5544b4cbdc827 (diff)
* string.c (rb_str_resize): should copy embedded string to
malloc'ed buffer. a patch from <nobu at ruby-lang.org> in [ruby-dev:29369]. fixed: [ruby-dev:29368] * string.c (rb_str_ord): use %ld specifier since STRING_LEN() is a long. [ruby-dev:29369] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 3cf5b7ceb3..d50df152d5 100644
--- a/array.c
+++ b/array.c
@@ -2826,7 +2826,7 @@ rb_ary_shuffle_bang(VALUE ary)
* call-seq:
* array.shuffle -> an_array
*
- * Returns a new array that with elements of this array shuffled.
+ * Returns a new array with elements of this array shuffled.
*
* a = [ 1, 2, 3 ] #=> [1, 2, 3]
* a.shuffle #=> [2, 3, 1]