Skip to content

Commit

Permalink
Removed a reduntant import.
Browse files Browse the repository at this point in the history
Removed another useless import.

One import wasn't reduntant after all...
  • Loading branch information
dukc committed Feb 27, 2017
1 parent cfb25fb commit 1f926a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions std/concurrency.d
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private
import core.sync.mutex;
import core.sync.condition;
import std.range.primitives;
import std.range.interfaces;
import std.traits;
import std.concurrencybase;

Expand Down Expand Up @@ -1586,7 +1587,6 @@ private interface IsGenerator {}
* }
* ---
*/
import std.range.interfaces : InputRange;
class Generator(T) :
Fiber, IsGenerator, InputRange!T
{
Expand Down Expand Up @@ -1697,7 +1697,6 @@ class Generator(T) :
*/
final T moveFront()
{
import std.algorithm, std.range;
static if (!hasElaborateCopyConstructor!T)
{
return front;
Expand Down

0 comments on commit 1f926a1

Please sign in to comment.