Skip to content

Commit 5b70244

Browse files
committed
fixed sprintf doc missing $a in order of arguments example
1 parent 49630ca commit 5b70244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Str.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ So:
612612
uses C<$a> for the width, C<$b> for the precision, and C<$c> as the value to
613613
format; while:
614614
615-
NYI sprintf '<%*1$.*s>', $b, 'b';
615+
NYI sprintf '<%*1$.*s>', $a, $b, 'b';
616616
617617
would use C<$a> for the width and precision and C<$b> as the value to format.
618618

0 commit comments

Comments
 (0)