mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 00:20:26 +03:00
std.algorithm: set accidentally exposed methods to private
This commit is contained in:
parent
f276dbc06b
commit
0c100a7b5a
4 changed files with 50 additions and 23 deletions
|
@ -2500,7 +2500,7 @@ pure @safe nothrow unittest
|
|||
assert(f.payload.equal([10, 12, 11]));
|
||||
}
|
||||
|
||||
void swapFront(R1, R2)(R1 r1, R2 r2)
|
||||
private void swapFront(R1, R2)(R1 r1, R2 r2)
|
||||
if (isInputRange!R1 && isInputRange!R2)
|
||||
{
|
||||
static if (is(typeof(swap(r1.front, r2.front))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue