Skip to content

Commit 9e7d2f3

Browse files
authored
Fix typos in compound format descriptions (#10572)
Someone tried to \( instead of $(LPAREN) inside of a bold macro. Didn't work and made the description very misleading.
1 parent dbc09d8 commit 9e7d2f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/format/package.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ limited to a $(B '-') flag.
147147
$(H4 $(LNAME2 format-indicator, Format Indicator))
148148
149149
The $(I format indicator) can either be a single character or an
150-
expression surrounded by $(B %\() and $(B %\)). It specifies the
150+
expression surrounded by $(B '%$(LPAREN)') and $(B '%$(RPAREN)'). It specifies the
151151
basic manner in which a value will be formatted and is the minimum
152152
requirement to format a value.
153153
@@ -187,7 +187,7 @@ $(BOOKTABLE ,
187187
188188
The $(I compound indicator) can be used to describe compound types
189189
like arrays or structs in more detail. A compound type is enclosed
190-
within $(B '%\(') and $(B '%\)'). The enclosed sub-format string is
190+
within $(B '%$(LPAREN)') and $(B '%$(RPAREN)'). The enclosed sub-format string is
191191
applied to individual elements. The trailing portion of the
192192
sub-format string following the specifier for the element is
193193
interpreted as the delimiter, and is therefore omitted following the

0 commit comments

Comments
 (0)