From a50bbbf0b94c1988b0b6538999b6841ba4e58109 Mon Sep 17 00:00:00 2001 From: menarulalam <35981995+menarulalam@users.noreply.github.com> Date: Thu, 11 Jan 2024 13:54:56 -0800 Subject: [PATCH] Update docs/string-interpolation-format-specification.md Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com> --- docs/string-interpolation-format-specification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/string-interpolation-format-specification.md b/docs/string-interpolation-format-specification.md index 1f16b68..bb3a3f6 100644 --- a/docs/string-interpolation-format-specification.md +++ b/docs/string-interpolation-format-specification.md @@ -10,7 +10,7 @@ Most languages allow for format specifiers such as python f-strings or printf in ## Design -Under the hood, this will just be syntactic sugar in addition to the current implementation of interpolated strings. Before, interpolated strings were passed to `string.format` with no format was speified, but now we will also pass the optional format specifier. We decided on `,` to act as the delimiter for format specification. +Under the hood, this will just be syntactic sugar in addition to the current implementation of interpolated strings. Before, interpolated strings were passed to `string.format` with no format was specified, but now we will also pass the optional format specifier. We decided on `,` to act as the delimiter for format specification. To give some examples, this is how it would look like in code: