Skip to content

Commit

Permalink
Removed package wide std.algorithm imports from std.container.array
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed Jul 18, 2016
1 parent 37c26ea commit dc8e929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/container/array.d
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ Complexity: $(BIGOH n + m), where $(D m) is the length of $(D stuff)
}
else
{
import std.algorithm : bringToFront;
import std.algorithm.mutation : bringToFront;
enforce(_data);
immutable offset = r._a;
enforce(offset <= length);
Expand All @@ -898,7 +898,7 @@ Complexity: $(BIGOH n + m), where $(D m) is the length of $(D stuff)
/// ditto
size_t insertAfter(Stuff)(Range r, Stuff stuff)
{
import std.algorithm : bringToFront;
import std.algorithm.mutation : bringToFront;
enforce(r._outer._data is _data);
// TODO: optimize
immutable offset = r._b;
Expand Down

0 comments on commit dc8e929

Please sign in to comment.