mruby-rational/rational.c: update error message.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-06-21 22:17:17 +09:00
parent 019a2ddff4
commit cf7aa74f7c
+1 -1
View File
@@ -722,7 +722,7 @@ rational_pow(mrb_state *mrb, mrb_value x)
}
break;
default:
mrb_raisef(mrb, E_TYPE_ERROR, "%T cannot convert to Rational", y);
mrb_raisef(mrb, E_TYPE_ERROR, "%T cannot be converted to Rational", y);
}
return mrb_float_value(mrb, pow(d1, d2));
#else