From b56f984c2520689196bc5caf2be32db9b354353b Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 30 Mar 2025 14:04:34 +1000 Subject: [PATCH] misc: fix typos --- doc/mruby3.4.md | 2 +- src/array.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/mruby3.4.md b/doc/mruby3.4.md index f21f61dc9..ed623bc9b 100644 --- a/doc/mruby3.4.md +++ b/doc/mruby3.4.md @@ -4,7 +4,7 @@ # The language -- mruby now supports `private` and `protected` visibitily ([b0db0bd](https://github.com/mruby/mruby/commit/b0db0bd)) +- mruby now supports `private` and `protected` visibility ([b0db0bd](https://github.com/mruby/mruby/commit/b0db0bd)) - Maximum length of inlined symbols reduced from 5 to 4 characters to provide space for visibility flags ([6442a01](https://github.com/mruby/mruby/commit/6442a01)) - Many methods are made private according to CRuby visibility ([4a0e806](https://github.com/mruby/mruby/commit/4a0e806)) - Generate OP_SSEND for `self.method` type calls ([111fe4b](https://github.com/mruby/mruby/commit/111fe4b)) diff --git a/src/array.c b/src/array.c index 1d649c10e..f6051157c 100644 --- a/src/array.c +++ b/src/array.c @@ -1407,7 +1407,7 @@ mrb_ary_to_s(mrb_state *mrb, mrb_value self) return ret; } -/* check array equality: 1=equal,0=not_equal,-1=need_elments_check */ +/* check array equality: 1=equal,0=not_equal,-1=need_elements_check */ static mrb_int ary_eq(mrb_state *mrb, mrb_value ary1, mrb_value ary2) {