mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
3e5129558b
The `XXX` comment in `sprintf.c` suggested that not validating the number of arguments for positional format specifiers was a bug. However, CRuby's `sprintf` also ignores extra arguments in this case, making the existing behavior correct. This commit removes the confusing comment and the disabled code block that went with it, clarifying the intended behavior and cleaning up the code. Co-authored-by: Gemini <gemini@google.com>