From ddc5839005b91ec7a87f374d3b2606b158400817 Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 31 Mar 2019 14:46:25 +0000 Subject: [PATCH] Fix a typo [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.c b/array.c index f8effc9d61..a47a836ea0 100644 --- a/array.c +++ b/array.c @@ -1114,7 +1114,7 @@ ary_take_first_or_last(int argc, const VALUE *argv, VALUE ary, enum ary_take_pos long offset = 0; argc = rb_check_arity(argc, 0, 1); - /* the case optional argument is ommited should be handled in + /* the case optional argument is omitted should be handled in * callers of this function. if another arity case is added, * this arity check needs to rewrite. */ RUBY_ASSERT_WHEN(TRUE, argc == 1);