mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Fix a small bug in the just-merged pull request.
This commit is contained in:
parent
70418fac9e
commit
aa2a4077df
1 changed files with 3 additions and 3 deletions
|
@ -1830,7 +1830,7 @@ unittest
|
|||
}
|
||||
}
|
||||
}
|
||||
unittest
|
||||
unittest
|
||||
{
|
||||
auto L = retro(iota(1L, 10L));
|
||||
auto s = splitter(L, 5L);
|
||||
|
@ -1906,7 +1906,7 @@ if (is(typeof(Range.init.front == Separator.init.front) : bool))
|
|||
{
|
||||
@property bool empty()
|
||||
{
|
||||
return _frontLength == size_t.max && _input.empty;
|
||||
return _frontLength == RIndexType.max && _input.empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2133,7 +2133,7 @@ if (is(typeof(unaryFun!(isTerminator)(ElementType!(Range).init))))
|
|||
|
||||
return Result(input);
|
||||
}
|
||||
unittest
|
||||
unittest
|
||||
{
|
||||
auto L = iota(1L, 10L);
|
||||
auto s = splitter(L, [5L, 6L]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue