Style fix: package wide std.algorithm imports

This commit is contained in:
Sebastian Wilzbach 2016-10-11 11:45:41 +02:00
parent c5ba7c7d0b
commit 1ca4d31e21
2 changed files with 3 additions and 2 deletions

View file

@ -1562,7 +1562,7 @@ private void sort5(alias lt, Range)(Range r)
{
assert(r.length >= 5);
import std.algorithm : swapAt;
import std.algorithm.mutation : swapAt;
// 1. Sort first two pairs
if (lt(r[1], r[0])) r.swapAt(0, 1);