Skip to content

Commit f95cd32

Browse files
authored
Merge pull request #10618 from Vladiwostok/fix-linting-functional
Fix linting issue in functional.d
2 parents d53b563 + 7063200 commit f95cd32

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

std/functional.d

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,8 @@ template memoize(alias fun)
13491349
alias memoize = impl;
13501350
}
13511351

1352-
auto impl(Args...)(Args args) if (is(typeof(fun(args))))
1352+
auto impl(Args...)(Args args)
1353+
if (is(typeof(fun(args))))
13531354
{
13541355
import std.typecons : Tuple, tuple;
13551356
import std.traits : Unqual;
@@ -1393,7 +1394,8 @@ template memoize(alias fun, uint maxSize)
13931394
alias memoize = impl;
13941395
}
13951396

1396-
auto impl(Args...)(Args args) if (is(typeof(fun(args))))
1397+
auto impl(Args...)(Args args)
1398+
if (is(typeof(fun(args))))
13971399
{
13981400
static if (args.length > 0)
13991401
{

0 commit comments

Comments
 (0)