Skip to content

Commit 7e614a2

Browse files
Add missing closing curly brace (#2305)
1 parent d398e51 commit 7e614a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

concepts/string-formatting/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The text in braces, placeholders in the case of the composite format and interpo
3030

3131
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 ":").
3232

33-
`{<interpolationExpression>[,<alignment>][:<formatString>]`
33+
`{<interpolationExpression>[,<alignment>][:<formatString>]}`
3434

3535
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.
3636

exercises/concept/high-school-sweethearts/.docs/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The text in braces, placeholders in the case of the composite format and interpo
3232

3333
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 ":").
3434

35-
`{<interpolationExpression>[,<alignment>][:<formatString>]`
35+
`{<interpolationExpression>[,<alignment>][:<formatString>]}`
3636

3737
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.
3838

0 commit comments

Comments
 (0)