Skip to content

Commit

Permalink
Update conv.d: textImpl(): make static if more readable.
Browse files Browse the repository at this point in the history
Adds newlines at the end of statements in the source code.
  • Loading branch information
BoQsc authored Nov 25, 2023
1 parent bef8a1c commit aea2036
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -4848,8 +4848,9 @@ private S textImpl(S, U...)(U args)
static foreach (arg; args)
{
static if (
isSomeChar!(typeof(arg)) || isSomeString!(typeof(arg)) ||
( isInputRange!(typeof(arg)) && isSomeChar!(ElementType!(typeof(arg))) )
isSomeChar!(typeof(arg))
|| isSomeString!(typeof(arg))
|| ( isInputRange!(typeof(arg)) && isSomeChar!(ElementType!(typeof(arg))) )
)
app.put(arg);
else static if (
Expand Down

0 comments on commit aea2036

Please sign in to comment.