Skip to content

Commit

Permalink
Fixed long lines in std/array.d
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 11, 2016
1 parent e10acac commit 3df9e27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions std/array.d
Expand Up @@ -1462,8 +1462,9 @@ if (isForwardRange!Range && is(typeof(ElementType!Range.init == Separator.init))
return range.splitter(sep).array;
}
///ditto
auto split(Range, Separator)(Range range, Separator sep)
if (isForwardRange!Range && isForwardRange!Separator && is(typeof(ElementType!Range.init == ElementType!Separator.init)))
auto split(Range, Separator)(Range range, Separator sep) if (
isForwardRange!Range && isForwardRange!Separator
&& is(typeof(ElementType!Range.init == ElementType!Separator.init)))
{
import std.algorithm : splitter;
return range.splitter(sep).array;
Expand Down

0 comments on commit 3df9e27

Please sign in to comment.