diff --git a/src/fmt_fp.c b/src/fmt_fp.c index ae8020755..ab69486e6 100644 --- a/src/fmt_fp.c +++ b/src/fmt_fp.c @@ -265,7 +265,7 @@ mrb_format_float(mrb_float f, char *buf, size_t buf_size, char fmt, int prec, ch // We now have f as a floating-point number between >= 1 and < 10 // (or equal to zero), and e contains the absolute value of the power of - // 10 exponent. and (dec + 1) == the number of dgits before the decimal. + // 10 exponent, and (dec + 1) == the number of digits before the decimal. // For e, prec is # digits after the decimal // For f, prec is # digits after the decimal diff --git a/src/vm.c b/src/vm.c index b158a7551..c9b007951 100644 --- a/src/vm.c +++ b/src/vm.c @@ -905,7 +905,7 @@ mrb_f_send(mrb_state *mrb, mrb_value self) c = mrb_class(mrb, self); m = mrb_vm_find_method(mrb, c, &c, name); - if (MRB_METHOD_UNDEF_P(m)) { /* call method_mising */ + if (MRB_METHOD_UNDEF_P(m)) { /* call method_missing */ goto funcall; }