diff options
author | Trivikram Kamat <16024985+trivikr@users.noreply.github.com> | 2020-10-03 13:19:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 07:19:11 +1100 |
commit | d0eb179132c60a7c2513c9d19db03e3d5ca00c70 (patch) | |
tree | 627339e0dc2212ed861184d46b6af31605224d24 /std/fmt | |
parent | 391eed42f41bd277fff936192b474bfd52eaa1a0 (diff) |
docs: end sentences with a period in markdown (#7813)
Diffstat (limited to 'std/fmt')
-rw-r--r-- | std/fmt/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/std/fmt/README.md b/std/fmt/README.md index 700943567..d71fdf4d0 100644 --- a/std/fmt/README.md +++ b/std/fmt/README.md @@ -42,14 +42,14 @@ This is very much a work-in-progress. I'm actively soliciting feedback. - currently contains little in the way of checking for correctness. Conceivably, there will be a 'strict' form, e.g. that ensures only Number-ish arguments are - passed to %f flags + passed to %f flags. - assembles output using string concatenation instead of utilizing buffers or other optimizations. It would be nice to have printf / sprintf / fprintf (etc) all in one. - float formatting is handled by toString() and to `toExponential` along with a - mess of Regexp. Would be nice to use fancy match + mess of Regexp. Would be nice to use fancy match. - some flags that are potentially applicable ( POSIX long and unsigned modifiers are not likely useful) are missing, namely %q (print quoted), %U (unicode @@ -70,7 +70,7 @@ list. E.g.: Hello %s! -applied to the arguments "World" yields "Hello World!" +applied to the arguments "World" yields "Hello World!". The meaning of the format string is modelled after [POSIX][1] format strings as well as well as [Golang format strings][2]. Both contain elements specific to @@ -128,7 +128,7 @@ which case the values are obtained from the next args, e.g.: sprintf("%*.*f", 9, 8, 456.0) -is equivalent to +is equivalent to: sprintf("%9.8f", 456.0) @@ -156,7 +156,7 @@ directive: The default format used by `%v` is the result of calling `toString()` on the relevant argument. If the `#` flags is used, the result of calling `inspect()` is interpolated. In this case, the precision, if set is passed to `inspect()` as -the 'depth' config parameter +the 'depth' config parameter. ## Positional arguments |