Commit a238c9c1 authored by cubicdaiya's avatar cubicdaiya

make mrb_str_dump a bit faster

parent d1526b04
...@@ -2361,7 +2361,7 @@ mrb_str_dump(mrb_state *mrb, mrb_value str) ...@@ -2361,7 +2361,7 @@ mrb_str_dump(mrb_state *mrb, mrb_value str)
} }
} }
} }
*q++ = '"'; *q = '"';
return mrb_obj_value(result); return mrb_obj_value(result);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment