Skip to content

Commit

Permalink
Merge pull request #6250 from jbampton/fix-spelling
Browse files Browse the repository at this point in the history
Fix spelling
  • Loading branch information
matz committed Apr 22, 2024
2 parents 3d32bc1 + 67c5ced commit 85120d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fmt_fp.c
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/vm.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 85120d5

Please sign in to comment.