aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2019-09-29 11:04:28 +0200
committerBenoit Daloze <eregontp@gmail.com>2019-09-29 11:04:28 +0200
commitce477089f690d3bedcaef088158b429db8a97d64 (patch)
tree92da1e85b24a9ff795e83fe51e1e59d1d12e09ec /array.c
parente2d97cffe5aecc88f3fc4dc7be9a7b3a57bede87 (diff)
downloadruby-ce477089f690d3bedcaef088158b429db8a97d64.tar.gz
[DOC] Fix typos in Array#{to_s,inspect} doc [ci skip]
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 548dda6d4a..c63bfb3b93 100644
--- a/array.c
+++ b/array.c
@@ -2443,7 +2443,7 @@ inspect_ary(VALUE ary, VALUE dummy, int recur)
* ary.to_s -> string
*
* Creates a string representation of +self+, by calling #inspect
- * method on each elements.
+ * on each element.
*
* [ "a", "b", "c" ].to_s #=> "[\"a\", \"b\", \"c\"]"
*/