From 4e6daedc706b591073a8b361935fbe41183baaba Mon Sep 17 00:00:00 2001 From: ktsj Date: Thu, 4 May 2017 08:59:01 +0000 Subject: string.c: [DOC] Properly refer to keyword argument by its name git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 0979a89a74..6839520575 100644 --- a/string.c +++ b/string.c @@ -1453,11 +1453,11 @@ rb_str_resurrect(VALUE str) * * Returns a new string object containing a copy of str. * - * The optional enc argument specifies the encoding of the new string. + * The optional encoding argument specifies the encoding of the new string. * If not specified, the encoding of str (or ASCII-8BIT, if str * is not specified) is used. * - * The optional size argument specifies the size of internal buffer. + * The optional capacity argument specifies the size of internal buffer. * This may improve performance, when the string will be concatenated many * times (and call many realloc). */ -- cgit v1.2.3