mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 17:11:26 +03:00
fix imports 2
This commit is contained in:
parent
df99fc8707
commit
95ea08d50b
3 changed files with 10 additions and 8 deletions
|
@ -75,9 +75,6 @@ import std.traits : isArray, isBlitAssignable, isNarrowString, Unqual;
|
|||
// FIXME
|
||||
import std.typecons; // : tuple, Tuple;
|
||||
|
||||
// FIXME: somehow deleting this breaks the bringToFront() unittests.
|
||||
import std.range;
|
||||
|
||||
// bringToFront
|
||||
/**
|
||||
The $(D bringToFront) function has considerable flexibility and
|
||||
|
@ -114,7 +111,8 @@ See_Also:
|
|||
size_t bringToFront(Range1, Range2)(Range1 front, Range2 back)
|
||||
if (isInputRange!Range1 && isForwardRange!Range2)
|
||||
{
|
||||
import std.range: Take, take;
|
||||
import std.range: take, Take;
|
||||
import std.array: sameHead;
|
||||
enum bool sameHeadExists = is(typeof(front.sameHead(back)));
|
||||
size_t result;
|
||||
for (bool semidone; !front.empty && !back.empty; )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue