Skip to content

Commit b432431

Browse files
committed
replace Phobos min with Mir min
1 parent fbe174c commit b432431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/mir/ndslice/slice.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,15 +1152,15 @@ struct Slice(SliceKind kind, size_t[] packs, Iterator)
11521152
void popFrontN(size_t dimension = 0)(size_t n)
11531153
if (dimension < packs[0] && (dimension == 0 || kind != Contiguous))
11541154
{
1155-
import std.algorithm.comparison : min;
1155+
import mir.utility : min;
11561156
popFrontExactly!dimension(min(n, _lengths[dimension]));
11571157
}
11581158

11591159
///ditto
11601160
void popBackN(size_t dimension = 0)(size_t n)
11611161
if (dimension < packs[0] && (dimension == 0 || kind != Contiguous))
11621162
{
1163-
import std.algorithm.comparison : min;
1163+
import mir.utility : min;
11641164
popBackExactly!dimension(min(n, _lengths[dimension]));
11651165
}
11661166

0 commit comments

Comments
 (0)