Skip to content

Commit

Permalink
Fix typos in compound format descriptions (#10572)
Browse files Browse the repository at this point in the history
Someone tried to \( instead of $(LPAREN) inside of a bold macro. Didn't work and made the description very misleading.
  • Loading branch information
jdougan authored Dec 4, 2024
1 parent dbc09d8 commit 9e7d2f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/format/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ limited to a $(B '-') flag.
$(H4 $(LNAME2 format-indicator, Format Indicator))
The $(I format indicator) can either be a single character or an
expression surrounded by $(B %\() and $(B %\)). It specifies the
expression surrounded by $(B '%$(LPAREN)') and $(B '%$(RPAREN)'). It specifies the
basic manner in which a value will be formatted and is the minimum
requirement to format a value.
Expand Down Expand Up @@ -187,7 +187,7 @@ $(BOOKTABLE ,
The $(I compound indicator) can be used to describe compound types
like arrays or structs in more detail. A compound type is enclosed
within $(B '%\(') and $(B '%\)'). The enclosed sub-format string is
within $(B '%$(LPAREN)') and $(B '%$(RPAREN)'). The enclosed sub-format string is
applied to individual elements. The trailing portion of the
sub-format string following the specifier for the element is
interpreted as the delimiter, and is therefore omitted following the
Expand Down

0 comments on commit 9e7d2f3

Please sign in to comment.