Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions std/format/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ compound type. This $(I format specifier) can be a $(I compound
indicator) itself.

Note: Inside a $(I compound indicator), strings and characters are
escaped automatically. To avoid this behavior, use `"%-$(LPAREN)"`
instead of `"%$(LPAREN)"`.
escaped automatically. To avoid this behavior, use `"%-("`
instead of `"%("`.

$(SECTION4 Flags)

Expand Down Expand Up @@ -307,7 +307,7 @@ $(UL
inside of compound types are surrounded by single and double quotes
and unprintable characters are escaped. To avoid this, a $(B '-')
flag can be specified for the compound specifier
$(LPAREN)e.g. `"%-$(LPAREN)%s%$(RPAREN)"` instead of `"%$(LPAREN)%s%$(RPAREN)"` $(RPAREN).)
(e.g. `"%-(%s%)"` instead of `"%(%s%)"`).)
$(LI Structs, unions, classes and interfaces are formatted by calling a
`toString` method if available.
See $(MREF_ALTTEXT $(D module std.format.write), std, format, write) for more
Expand Down Expand Up @@ -417,7 +417,7 @@ $(BOOKTABLE ,
character is surrounded by single quotes and non printable
characters are escaped. This can be avoided by preceding
the compound indicator with a $(B '-') flag
$(LPAREN)e.g. `"%-$(LPAREN)%s%$(RPAREN)"`$(RPAREN).)
(e.g. `"%-(%s%)"`).)
)
$(TR $(TD $(B 'b'), $(B 'd'), $(B 'o'), $(B 'u'), $(B 'x'), $(B 'X'))
$(TD As the integral that represents the character.)
Expand All @@ -432,7 +432,7 @@ $(BOOKTABLE ,
Inside of a compound indicator the string is surrounded by double quotes
and non printable characters are escaped. This can be avoided
by preceding the compound indicator with a $(B '-') flag
$(LPAREN)e.g. `"%-$(LPAREN)%s%$(RPAREN)"`$(RPAREN).)
(e.g. `"%-(%s%)"`).)
)
$(TR $(TD $(B 'r'))
$(TD The sequence of characters, each formatted with $(B 'r').)
Expand Down
4 changes: 2 additions & 2 deletions std/random.d
Original file line number Diff line number Diff line change
Expand Up @@ -2029,8 +2029,8 @@ if (is(MTEngine : MersenneTwisterEngine!Params, Params...))
/**
Generates a number between `a` and `b`. The `boundaries`
parameter controls the shape of the interval (open vs. closed on
either side). Valid values for `boundaries` are `"[]"`, $(D
"$(LPAREN)]"), `"[$(RPAREN)"`, and `"()"`. The default interval
either side). Valid values for `boundaries` are `"[]"`,
`"(]"`, `"[)"`, and `"()"`. The default interval
is closed to the left and open to the right. The version that does not
take `urng` uses the default generator `rndGen`.

Expand Down
2 changes: 1 addition & 1 deletion std/traits.d
Original file line number Diff line number Diff line change
Expand Up @@ -7548,7 +7548,7 @@ enum bool isSomeFunction(alias T) =

/**
Detect whether `T` is a callable object, which can be called with the
function call operator `$(LPAREN)...$(RPAREN)`.
function call operator `(...)`.
*/
template isCallable(alias callable)
{
Expand Down