commit d4b65dace56cb2ea39cdb168cc810f293c673c6b
parent 751f8410f1a7572ba05ba6b66d5d6a3cc2100ca4
Author: Callum Brown <callum@calcuode.com>
Date: Sat, 13 May 2023 14:28:27 +0100
fmt: fix typos in README
Signed-off-by: Callum Brown <callum@calcuode.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fmt/README b/fmt/README
@@ -12,7 +12,7 @@ modifiers, and parametric format modifiers.
Inline format modifiers are a series of characters within a format sequence.
You may use a colon to add format modifiers; for example, "{:x}" will format an
-argument in hexadecimal, and "{3:-10}" will left-align the 4rd argument (zero
+argument in hexadecimal, and "{3:-10}" will left-align the 4th argument (zero
indexed) to at least 10 characters.
The format modifiers take the form of optional flag characters:
@@ -52,7 +52,7 @@ shall describe how the primary formattable argument is formatted.
A parametric format sequence of this sort takes the form of "{i%j}", where i is
the formattable parameter index, j is the modifiers parameter index, and i & j
are optional. If either i or j aren't explicitly provided by the user, they
-will evaluate to index of the next unused argument.
+will evaluate to the index of the next unused argument.
Some parametric modifier examples: