mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
e149553db2
Add clear section headers and explanatory comments to the format handlers in mrb_str_format to improve code maintainability and readability. Changes: - Add format type headers (CHARACTER, STRING, INTEGER, FLOAT) - Add subsection comments explaining key logic steps - Improve code organization within each format handler - Better indentation and logical grouping This makes the 450-line function much easier to navigate and understand while maintaining identical functionality (all 1723 tests pass). Co-authored-by: Claude <noreply@anthropic.com>