Small cosmetic changes (adjust indent, and remove extra space)

This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-03-20 22:55:33 +09:00
parent 0c8404a3e2
commit 35e2779575
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ create_proc_from_string(mrb_state *mrb, const char *s, mrb_int len, mrb_value bi
if (!mrb_class_defined_id(mrb, MRB_SYM(Binding))
|| !mrb_obj_is_kind_of(mrb, binding, mrb_class_get_id(mrb, MRB_SYM(Binding)))) {
mrb_raisef(mrb, E_TYPE_ERROR, "wrong argument type %C (expected binding)",
mrb_obj_class(mrb, binding));
mrb_obj_class(mrb, binding));
}
scope_obj = mrb_iv_get(mrb, binding, MRB_SYM(proc));
mrb_check_type(mrb, scope_obj, MRB_TT_PROC);
@@ -31,7 +31,7 @@ mrb_proc_binding(mrb_state *mrb, mrb_value procval)
}
proc = mrb_binding_wrap_lvspace(mrb, proc, &env);
mrb_iv_set(mrb, binding, MRB_SYM(proc), mrb_obj_value((void *)proc));
mrb_iv_set(mrb, binding, MRB_SYM(proc), mrb_obj_value((void*)proc));
mrb_iv_set(mrb, binding, MRB_SYM(recv), receiver);
mrb_iv_set(mrb, binding, MRB_SYM(env), mrb_obj_value(env));
mrb_iv_set(mrb, binding, MRB_SYM(source_location), mrb_proc_source_location(mrb, mrb_proc_ptr(procval)));