Skip to content

Commit

Permalink
Add missing closing curly brace (exercism#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelikatyborska committed Sep 18, 2024
1 parent d398e51 commit 7e614a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion concepts/string-formatting/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The text in braces, placeholders in the case of the composite format and interpo

A format item can comprise up to 3 parts. The first is the mandatory expression or argument placeholder as seen in the example code above. In addition, there is an optional alignment (introduced with a comma, ",") and an optional _format string_ (introduced with a colon ":").

`{<interpolationExpression>[,<alignment>][:<formatString>]`
`{<interpolationExpression>[,<alignment>][:<formatString>]}`

The _alignment_ specifies the length of the "field" in which the text is placed, padded to the left with spaces if the alignment is positive or to the right if it is negative.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The text in braces, placeholders in the case of the composite format and interpo

A format item can comprise up to 3 parts. The first is the mandatory expression or argument placeholder as seen in the example code above. In addition, there is an optional alignment (introduced with a comma, ",") and an optional _format string_ (introduced with a colon ":").

`{<interpolationExpression>[,<alignment>][:<formatString>]`
`{<interpolationExpression>[,<alignment>][:<formatString>]}`

The _alignment_ specifies the length of the "field" in which the text is placed, padded to the left with spaces if the alignment is positive or to the right if it is negative.

Expand Down

0 comments on commit 7e614a2

Please sign in to comment.