diff options
author | David RodrÃguez <2887858+deivid-rodriguez@users.noreply.github.com> | 2025-09-07 17:41:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-08 00:41:59 +0900 |
commit | 1e7ee6a4ba3ee626d9fb99be4a35365bce74b0f9 (patch) | |
tree | f74692a5971f36230e65112a18deaa60d835dd3e /ext/gtk/test8.rb | |
parent | 6cd98c24fe9aeea3829ac3d554a277f053cec0be (diff) |
One example to describe how `*` works actually prints a warning:
```
$ ruby -we "sprintf('%d', 20, 14)"
=> -e:1: warning: too many arguments for format string
```
I think it's better to not use examples that print warnings, so I
propose to merge `*` docs with "width" specifier docs, and only include
the "correct" example.
After I believe `*` is not an actual flag, but a special value that the
width specifier can take.
Mention `*` special value in initial summary as well.
Diffstat (limited to 'ext/gtk/test8.rb')
0 files changed, 0 insertions, 0 deletions