mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 23:20:29 +03:00
Fix Issue 8087 - Improve clarity of std.algorithm documentation
This commit is contained in:
parent
31dad0c099
commit
946a46774c
3 changed files with 39 additions and 39 deletions
|
@ -111,8 +111,8 @@ Params:
|
|||
sorted.
|
||||
*/
|
||||
void completeSort(alias less = "a < b", SwapStrategy ss = SwapStrategy.unstable,
|
||||
Range1, Range2)(SortedRange!(Range1, less) lhs, Range2 rhs)
|
||||
if (hasLength!(Range2) && hasSlicing!(Range2))
|
||||
RandomAccessRange1, RandomAccessRange2)(SortedRange!(RandomAccessRange1, less) lhs, RandomAccessRange2 rhs)
|
||||
if (hasLength!(RandomAccessRange2) && hasSlicing!(RandomAccessRange2))
|
||||
{
|
||||
import std.algorithm.mutation : bringToFront;
|
||||
import std.range : chain, assumeSorted;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue