mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Style fix: package wide std.algorithm imports
This commit is contained in:
parent
c5ba7c7d0b
commit
1ca4d31e21
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue